//    Copyright (C) 2013  <lugocreation@gmail.com>
//
//    This program is free software: you can redistribute it and/or modify
//    it under the terms of the GNU General Public License as published by
//    the Free Software Foundation, either version 3 of the License, or
//    (at your option) any later version.
//
//    This program is distributed in the hope that it will be useful,
//    but WITHOUT ANY WARRANTY; without even the implied warranty of
//    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
//    GNU General Public License for more details.
//
//    You should have received a copy of the GNU General Public License
//    along with this program.  If not, see <http://www.gnu.org/licenses/>.
package org.jpgolay.me.stock;

import java.awt.*;
import java.awt.event.*;
import java.beans.PropertyChangeEvent;
import java.beans.PropertyChangeListener;
import javax.swing.*;
import javax.swing.border.SoftBevelBorder;
import org.jpgolay.gui.fixed.*;
import org.jpgolay.gui.iconBar.IconBar;
import org.jpgolay.me.batch.*;
import org.jpgolay.me.preparation.PreparationBatchGUI;
import org.jpgolay.me.sending.*;
import org.jpgolay.me.statistic.StatisticsWelcomePiecesGUI;
import org.jpgolay.me.stock.inventory.InventoryListPanel;
import org.jpgolay.me.stock.log.LogStockListPanel;
import org.jpgolay.me.util.Parameter;

// Referenced classes of package org.jpgolay.me.stock:
//            Messages, PopupStockGUI
public class StockGUI extends JInternalFrame {

    public StockGUI() {
        mainPanel = null;
        contentLeftPanel = null;
        contentLeftJTabbedPane = null;
        pieceLeftPanel = null;
        batchLeftPanel = null;
        sendingLeftPanel = null;
        logStockLeftPanel = null;
        mainJSplitPane = null;
        piecesJTabbedPane = null;
        listJPanel = null;
        basicMenu = null;
        iconBar = null;
        batchPanel = null;
        batchCmdPanel = null;
        sendingPanel = null;
        sendingCmdPanel = null;
        inventoryListPanel = null;
        preparationJPanel = null;
        customerJPanel = null;
        supplierJPanel = null;
        itemJPanel = null;
        piecesJPanel = null;
        deliveryJPanel = null;
        receptionJPanel = null;
        inventoryJPanel = null;
        sendingJPanel = null;
        inventoryButtonTopJPanel = null;
        inventoryMainJPanel = null;
        inventoryButtonBottomJPanel = null;
        sendingButtonTopJPanel = null;
        sendingMainJPanel = null;
        sendingButtonBottomJPanel = null;
        pieceButtonTopJPanel = null;
        pieceMainJPanel = null;
        pieceButtonBottomJPanel = null;
        deliveryButtonTopJPanel = null;
        deliveryMainJPanel = null;
        deliveryButtonBottomJPanel = null;
        receptionButtonTopJPanel = null;
        receptionMainJPanel = null;
        receptionButtonBottomJPanel = null;
        preparationButtonTopJPanel = null;
        preparationMainJPanel = null;
        preparationButtonBottomJPanel = null;
        customerButtonTopJPanel = null;
        customerMainJPanel = null;
        customerButtonBottomJPanel = null;
        supplierBottonTopJPanel = null;
        supplierMainJPanel = null;
        supplierButtonBottomJPanel = null;
        itemButtonBottomJPanel = null;
        itemButtonTopJPanel = null;
        itemMainJPanel = null;
        piecesPiecesB = null;
        piecesDeliveryB = null;
        piecesReceptionB = null;
        piecesPreparationB = null;
        piecesCustomerB = null;
        piecesSupplierB = null;
        piecesItemB = null;
        deliveryPiecesB = null;
        deliveryDeliveryB = null;
        deliveryReceptionB = null;
        deliveryPreparationB = null;
        deliveryCustomerB = null;
        deliverySupplierB = null;
        deliveryItemB = null;
        receptionPiecesB = null;
        receptionDeliveryB = null;
        receptionReceptionB = null;
        receptionPreparationB = null;
        receptionCustomerB = null;
        receptionSupplierB = null;
        receptionItemB = null;
        preparationPieceB = null;
        preparationDeliveryB = null;
        preparationtReceptionB = null;
        preparationPreparationB = null;
        preparationCustomerB = null;
        preparationSupplierB = null;
        preparationItemB = null;
        customerPiecesB = null;
        customerDeliveryB = null;
        customerReceptionB = null;
        customerPreparationB = null;
        customerCustomerB = null;
        customerSupplierB = null;
        customerItemB = null;
        supplierItemB = null;
        supplierPiecesB = null;
        supplierDeliveryB = null;
        supplierReceptionB = null;
        supplierPreparationB = null;
        supplierCustomerB = null;
        supplierSupplierB = null;
        itemPiecesB = null;
        itemDeliveryB = null;
        itemReceptionB = null;
        itemPreparationB = null;
        itemCustomerB = null;
        itemSupplierB = null;
        itemItemB = null;
        welcomeJPanel = null;
        welcomeStatJPanel = null;
        welcomeButtonPanel = null;
        welcomePiecesB = null;
        welcomeDeliveryB = null;
        welcomeReceptionB = null;
        welcomePreparationtB = null;
        welcomeCustomerB = null;
        welcomeSupplierB = null;
        welcomeItemB = null;
        piecesSearch = null;
        piecesTable = null;
        deliverySearch = null;
        deliveryTable = null;
        paymentTable = null;
        customerSearch = null;
        customerTable = null;
        supplierSearch = null;
        supplierTable = null;
        itemSearch = null;
        itemTable = null;
        preparationSearch = null;
        preparationTable = null;
        reminderTable = null;
        jSplitPane1 = null;
        bottomJPanel = null;
        statisticsWelcomePiecesGUI = null;
        popupPiece = null;
        welcomeSendingB = null;
        welcomeInventoryB = null;
        piecesSendingB = null;
        piecesInventoryB = null;
        deliverySendingB = null;
        deliveryInventoryB = null;
        receptionSendingB = null;
        receptionInventoryB = null;
        preparationSendingB = null;
        preparationInventoryB = null;
        sendingSendingB = null;
        sendingInventoryB = null;
        inventorySendingB = null;
        inventoryInventoryB = null;
        customerSendingB = null;
        customerInventoryB = null;
        supplierSendingB = null;
        supplierInventoryB = null;
        itemSendingB = null;
        itemInventoryB = null;
        sendingPiecesB = null;
        sendingDeliveryB = null;
        sendingReceptionB = null;
        sendingPreparationB = null;
        sendingCustomerB = null;
        sendingSupplierB = null;
        sendingItemB = null;
        inventoryPiecesB = null;
        inventoryDeliveryB = null;
        inventoryReceptionB = null;
        inventoryPreparationB = null;
        inventoryCustomerB = null;
        inventorySupplierB = null;
        inventoryItemB = null;
        batchListPanel = null;
        sendingListPanel = null;
        logStockListPanel = null;
        preparationBatchGUI = null;
        preparationItemPanel = null;
        jSplitPane = null;
        initialize();
    }

    private void initialize() {
        setJMenuBar(getBasicMenu());
        setTitle(Messages.getString("StockGUI.title"));
        setFrameIcon(new ImageIcon(getClass().getResource("/org/jpgolay/me/images/stock18x18.png")));
        setSize(835, 689);
        setContentPane(getMainPanel());
        pack();
    }

    private JPanel getMainPanel() {
        if (mainPanel == null) {
            mainPanel = new JPanel();
            mainPanel.setLayout(new BorderLayout());
            mainPanel.add(getIconBarPanel(), "North");
            mainPanel.add(getMainJSplitPane(), "Center");
        }
        return mainPanel;
    }

    private IconBar getIconBarPanel() {
        if (iconBar == null) {
            iconBar = new IconBar();
        }
        return iconBar;
    }

    private JSplitPane getMainJSplitPane() {
        if (mainJSplitPane == null) {
            mainJSplitPane = new JSplitPane();
            mainJSplitPane.setDividerLocation(638);
            mainJSplitPane.setOneTouchExpandable(true);
            mainJSplitPane.setLeftComponent(getContentLeftJPanel());
            mainJSplitPane.setRightComponent(getListJPanel());
        }
        return mainJSplitPane;
    }

    private JTabbedPane getPiecesJTabbedPane() {
        if (piecesJTabbedPane == null) {
            piecesJTabbedPane = new JTabbedPane();
            piecesJTabbedPane.setTabPlacement(3);
            piecesJTabbedPane.setTabLayoutPolicy(1);
            piecesJTabbedPane.addMouseListener(new MouseAdapter() {
                public void mouseClicked(MouseEvent e) {
                    if (e.getButton() != 1) {
                        getPopupPiece().show(e.getComponent(), e.getX(), e.getY());
                    }
                }
            });
        }
        return piecesJTabbedPane;
    }

    private PopupStockGUI getPopupPiece() {
        if (popupPiece == null) {
            popupPiece = new PopupStockGUI();
            popupPiece.getClose().addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent evt) {
                    removePiece();
                }
            });
            popupPiece.getCloseAll().addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent evt) {
                    removeAllPieces();
                }
            });
        }
        return popupPiece;
    }

    private JPanel getListJPanel() {
        if (listJPanel == null) {
            listJPanel = new JPanel();
            listJPanel.setLayout(new CardLayout());
            listJPanel.add(getWelcomeJPanel(), getWelcomeJPanel().getName());
            listJPanel.add(getPiecesJPanel(), getPiecesJPanel().getName());
            listJPanel.add(getDeliveryJPanel(), getDeliveryJPanel().getName());
            listJPanel.add(getReceptionJPanel(), getReceptionJPanel().getName());
            listJPanel.add(getPreparationJPanel(), getPreparationJPanel().getName());
            listJPanel.add(getCustomerJPanel(), getCustomerJPanel().getName());
            listJPanel.add(getSupplierJPanel(), getSupplierJPanel().getName());
            listJPanel.add(getItemJPanel(), getItemJPanel().getName());
            listJPanel.add(getSendingJPanel(), getSendingJPanel().getName());
            listJPanel.add(getInventoryJPanel(), getInventoryJPanel().getName());
        }
        return listJPanel;
    }

    private JPanel getContentLeftJPanel() {
        if (contentLeftPanel == null) {
            contentLeftPanel = new JPanel();
            contentLeftPanel.setLayout(new BorderLayout());
            contentLeftPanel.add(getContentLeftJTabbedPane(), "Center");
        }
        return contentLeftPanel;
    }

    private JTabbedPane getContentLeftJTabbedPane() {
        if (contentLeftJTabbedPane == null) {
            contentLeftJTabbedPane = new JTabbedPane();
            contentLeftJTabbedPane.setTabPlacement(1);
            contentLeftJTabbedPane.setTabLayoutPolicy(1);
            contentLeftJTabbedPane.addTab("Pi\350ces", getPieceLeftJPanel());
            contentLeftJTabbedPane.addTab("Lots", getBatchLeftJPanel());
            contentLeftJTabbedPane.addTab("Exp\351ditions", getSendingLeftJPanel());
            contentLeftJTabbedPane.addTab("Journal du stock", getLogStockLeftJPanel());
        }
        return contentLeftJTabbedPane;
    }

    private JPanel getPieceLeftJPanel() {
        if (pieceLeftPanel == null) {
            pieceLeftPanel = new JPanel();
            pieceLeftPanel.setLayout(new BorderLayout());
            pieceLeftPanel.add(getPiecesJTabbedPane(), "Center");
        }
        return pieceLeftPanel;
    }

    private JPanel getBatchLeftJPanel() {
        if (batchLeftPanel == null) {
            batchLeftPanel = new JPanel();
            batchLeftPanel.setLayout(new BorderLayout());
            batchLeftPanel.add(getBatchListPanel(), "Center");
        }
        return batchLeftPanel;
    }

    private BatchListPanel getBatchListPanel() {
        if (batchListPanel == null) {
            batchListPanel = new BatchListPanel();
        }
        return batchListPanel;
    }

    private JPanel getSendingLeftJPanel() {
        if (sendingLeftPanel == null) {
            sendingLeftPanel = new JPanel();
            sendingLeftPanel.setLayout(new BorderLayout());
            sendingLeftPanel.add(getSendingListPanel(), "Center");
        }
        return sendingLeftPanel;
    }

    private JPanel getLogStockLeftJPanel() {
        if (logStockLeftPanel == null) {
            logStockLeftPanel = new JPanel();
            logStockLeftPanel.setLayout(new BorderLayout());
            logStockLeftPanel.add(getLogStockListPanel(), "Center");
        }
        return logStockLeftPanel;
    }

    private LogStockListPanel getLogStockListPanel() {
        if (logStockListPanel == null) {
            logStockListPanel = new LogStockListPanel();
        }
        return logStockListPanel;
    }

    private BasicMenu getBasicMenu() {
        if (basicMenu == null) {
            basicMenu = new BasicMenu();
        }
        return basicMenu;
    }

    private JPanel getPreparationJPanel() {
        if (preparationJPanel == null) {
            preparationJPanel = new JPanel();
            preparationJPanel.setLayout(new BorderLayout());
            preparationJPanel.setName("preparationJPanel");
            preparationJPanel.add(getPreparationButtonTopJPanel(), "North");
            preparationJPanel.add(getPreparationMainJPanel(), "Center");
            preparationJPanel.add(getPreparationButtonBottomJPanel(), "South");
        }
        return preparationJPanel;
    }

    private JPanel getCustomerJPanel() {
        if (customerJPanel == null) {
            customerJPanel = new JPanel();
            customerJPanel.setLayout(new BorderLayout());
            customerJPanel.setName("customerJPanel");
            customerJPanel.add(getCustomerButtonTopJPanel(), "North");
            customerJPanel.add(getCustomerMainJPanel(), "Center");
            customerJPanel.add(getCustomerButtonBottomJPanel(), "South");
        }
        return customerJPanel;
    }

    private JPanel getSupplierJPanel() {
        if (supplierJPanel == null) {
            supplierJPanel = new JPanel();
            supplierJPanel.setLayout(new BorderLayout());
            supplierJPanel.setName("supplierJPanel");
            supplierJPanel.add(getSupplierBottonTopJPanel(), "North");
            supplierJPanel.add(getSupplierMainJPanel(), "Center");
            supplierJPanel.add(getSupplierButtonBottomJPanel(), "South");
        }
        return supplierJPanel;
    }

    private JPanel getItemJPanel() {
        if (itemJPanel == null) {
            itemJPanel = new JPanel();
            itemJPanel.setLayout(new BorderLayout());
            itemJPanel.setName("itemJPanel");
            itemJPanel.add(getItemButtonTopJPanel(), "North");
            itemJPanel.add(getItemMainJPanel(), "Center");
            itemJPanel.add(getItemButtonBottomJPanel(), "South");
        }
        return itemJPanel;
    }

    private JPanel getPiecesJPanel() {
        if (piecesJPanel == null) {
            piecesJPanel = new JPanel();
            piecesJPanel.setLayout(new BorderLayout());
            piecesJPanel.setName("pieceJPanel");
            piecesJPanel.add(getPieceButtonTopJPanel(), "North");
            piecesJPanel.add(getPieceMainJPanel(), "Center");
            piecesJPanel.add(getPieceButtonBottomJPanel(), "South");
        }
        return piecesJPanel;
    }

    private JPanel getDeliveryJPanel() {
        if (deliveryJPanel == null) {
            deliveryJPanel = new JPanel();
            deliveryJPanel.setLayout(new BorderLayout());
            deliveryJPanel.setName("deliveryJPanel");
            deliveryJPanel.add(getDeliveryButtonTopJPanel(), "North");
            deliveryJPanel.add(getDeliveryMainJPanel(), "Center");
            deliveryJPanel.add(getDeliveryButtonBottomJPanel(), "South");
        }
        return deliveryJPanel;
    }

    private JPanel getReceptionJPanel() {
        if (receptionJPanel == null) {
            receptionJPanel = new JPanel();
            receptionJPanel.setLayout(new BorderLayout());
            receptionJPanel.setName("receptionJPanel");
            receptionJPanel.add(getReceptionButtonTopJPanel(), "North");
            receptionJPanel.add(getReceptionMainJPanel(), "Center");
            receptionJPanel.add(getReceptionButtonBottomJPanel(), "South");
        }
        return receptionJPanel;
    }

    private JPanel getInventoryJPanel() {
        if (inventoryJPanel == null) {
            inventoryJPanel = new JPanel();
            inventoryJPanel.setLayout(new BorderLayout());
            inventoryJPanel.setName("inventoryJPanel");
            inventoryJPanel.add(getInventoryButtonTopJPanel(), "North");
            inventoryJPanel.add(getInventoryMainJPanel(), "Center");
            inventoryJPanel.add(getInventoryButtonBottomJPanel(), "South");
        }
        return inventoryJPanel;
    }

    private JPanel getSendingJPanel() {
        if (sendingJPanel == null) {
            sendingJPanel = new JPanel();
            sendingJPanel.setLayout(new BorderLayout());
            sendingJPanel.setName("sendingJPanel");
            sendingJPanel.add(getSendingButtonTopJPanel(), "North");
            sendingJPanel.add(getSendingMainJPanel(), "Center");
            sendingJPanel.add(getSendingButtonBottomJPanel(), "South");
        }
        return sendingJPanel;
    }

    private JPanel getPieceButtonTopJPanel() {
        if (pieceButtonTopJPanel == null) {
            GridLayout gridLayout1 = new GridLayout();
            pieceButtonTopJPanel = new JPanel();
            pieceButtonTopJPanel.setLayout(gridLayout1);
            gridLayout1.setRows(1);
            gridLayout1.setColumns(1);
            pieceButtonTopJPanel.add(getPiecesPiecesB(), null);
        }
        return pieceButtonTopJPanel;
    }

    private JPanel getPieceMainJPanel() {
        if (pieceMainJPanel == null) {
            pieceMainJPanel = new JPanel();
            pieceMainJPanel.setLayout(new BorderLayout());
            pieceMainJPanel.setBorder(BorderFactory.createLineBorder(Color.blue, 1));
            pieceMainJPanel.add(getPiecesSearch(), "North");
            pieceMainJPanel.add(getPiecesTable(), "Center");
        }
        return pieceMainJPanel;
    }

    private JPanel getPieceButtonBottomJPanel() {
        if (pieceButtonBottomJPanel == null) {
            GridLayout gridLayout2 = new GridLayout();
            pieceButtonBottomJPanel = new JPanel();
            pieceButtonBottomJPanel.setLayout(gridLayout2);
            gridLayout2.setRows(8);
            gridLayout2.setColumns(1);
            pieceButtonBottomJPanel.add(getPiecesReceptionB(), null);
            pieceButtonBottomJPanel.add(getPiecesPreparationB(), null);
            pieceButtonBottomJPanel.add(getPiecesSendingB(), null);
            pieceButtonBottomJPanel.add(getPiecesDeliveryB(), null);
            pieceButtonBottomJPanel.add(getPiecesCustomerB(), null);
            pieceButtonBottomJPanel.add(getPiecesSupplierB(), null);
            pieceButtonBottomJPanel.add(getPiecesItemB(), null);
            pieceButtonBottomJPanel.add(getPiecesInventoryB(), null);
        }
        return pieceButtonBottomJPanel;
    }

    private JPanel getDeliveryButtonTopJPanel() {
        if (deliveryButtonTopJPanel == null) {
            GridLayout gridLayout3 = new GridLayout();
            deliveryButtonTopJPanel = new JPanel();
            deliveryButtonTopJPanel.setLayout(gridLayout3);
            gridLayout3.setRows(5);
            gridLayout3.setColumns(1);
            deliveryButtonTopJPanel.add(getDeliveryPiecesB(), null);
            deliveryButtonTopJPanel.add(getDeliveryReceptionB(), null);
            deliveryButtonTopJPanel.add(getDeliveryPreparationB(), null);
            deliveryButtonTopJPanel.add(getDeliverySendingB(), null);
            deliveryButtonTopJPanel.add(getDeliveryDeliveryB(), null);
        }
        return deliveryButtonTopJPanel;
    }

    private JPanel getDeliveryMainJPanel() {
        if (deliveryMainJPanel == null) {
            deliveryMainJPanel = new JPanel();
            deliveryMainJPanel.setLayout(new BorderLayout());
            deliveryMainJPanel.setBorder(BorderFactory.createLineBorder(new Color(204, 204, 0), 1));
            deliveryMainJPanel.add(getDeliverySearch(), "North");
            deliveryMainJPanel.add(getDeliveryTable(), "Center");
        }
        return deliveryMainJPanel;
    }

    private JPanel getDeliveryButtonBottomJPanel() {
        if (deliveryButtonBottomJPanel == null) {
            GridLayout gridLayout4 = new GridLayout();
            deliveryButtonBottomJPanel = new JPanel();
            deliveryButtonBottomJPanel.setLayout(gridLayout4);
            gridLayout4.setColumns(1);
            gridLayout4.setRows(4);
            deliveryButtonBottomJPanel.add(getDeliveryCustomerB(), null);
            deliveryButtonBottomJPanel.add(getDeliverySupplierB(), null);
            deliveryButtonBottomJPanel.add(getDeliveryItemB(), null);
            deliveryButtonBottomJPanel.add(getDeliveryInventoryB(), null);
        }
        return deliveryButtonBottomJPanel;
    }

    private JPanel getReceptionButtonTopJPanel() {
        if (receptionButtonTopJPanel == null) {
            GridLayout gridLayout5 = new GridLayout();
            receptionButtonTopJPanel = new JPanel();
            receptionButtonTopJPanel.setLayout(gridLayout5);
            gridLayout5.setRows(2);
            gridLayout5.setColumns(1);
            receptionButtonTopJPanel.add(getReceptionPiecesB(), null);
            receptionButtonTopJPanel.add(getReceptionReceptionB(), null);
        }
        return receptionButtonTopJPanel;
    }

    private JPanel getReceptionMainJPanel() {
        if (receptionMainJPanel == null) {
            receptionMainJPanel = new JPanel();
            receptionMainJPanel.setLayout(new BorderLayout());
            receptionMainJPanel.setBorder(BorderFactory.createLineBorder(Color.yellow, 1));
            receptionMainJPanel.add(getBatchPanel(), "Center");
            receptionMainJPanel.add(getBatchCmdPanel(), "North");
        }
        return receptionMainJPanel;
    }

    private JPanel getReceptionButtonBottomJPanel() {
        if (receptionButtonBottomJPanel == null) {
            GridLayout gridLayout6 = new GridLayout();
            receptionButtonBottomJPanel = new JPanel();
            receptionButtonBottomJPanel.setLayout(gridLayout6);
            gridLayout6.setColumns(1);
            gridLayout6.setRows(7);
            receptionButtonBottomJPanel.add(getReceptionPreparationB(), null);
            receptionButtonBottomJPanel.add(getReceptionSendingB(), null);
            receptionButtonBottomJPanel.add(getReceptionDeliveryB(), null);
            receptionButtonBottomJPanel.add(getReceptionCustomerB(), null);
            receptionButtonBottomJPanel.add(getReceptionSupplierB(), null);
            receptionButtonBottomJPanel.add(getReceptionItemB(), null);
            receptionButtonBottomJPanel.add(getReceptionInventoryB(), null);
        }
        return receptionButtonBottomJPanel;
    }

    private JPanel getPreparationButtonTopJPanel() {
        if (preparationButtonTopJPanel == null) {
            GridLayout gridLayout7 = new GridLayout();
            preparationButtonTopJPanel = new JPanel();
            preparationButtonTopJPanel.setLayout(gridLayout7);
            gridLayout7.setColumns(1);
            gridLayout7.setRows(3);
            preparationButtonTopJPanel.add(getPreparationPieceB(), null);
            preparationButtonTopJPanel.add(getPreparationtReceptionB(), null);
            preparationButtonTopJPanel.add(getPreparationPreparationB(), null);
        }
        return preparationButtonTopJPanel;
    }

    private JPanel getPreparationMainJPanel() {
        if (preparationMainJPanel == null) {
            preparationMainJPanel = new JPanel();
            preparationMainJPanel.setLayout(new BorderLayout());
            preparationMainJPanel.setBorder(BorderFactory.createLineBorder(Color.cyan, 1));
            preparationMainJPanel.add(getJSplitPane(), "Center");
        }
        return preparationMainJPanel;
    }

    private JPanel getPreparationButtonBottomJPanel() {
        if (preparationButtonBottomJPanel == null) {
            GridLayout gridLayout8 = new GridLayout();
            preparationButtonBottomJPanel = new JPanel();
            preparationButtonBottomJPanel.setLayout(gridLayout8);
            gridLayout8.setColumns(1);
            gridLayout8.setRows(6);
            preparationButtonBottomJPanel.add(getPreparationSendingB(), null);
            preparationButtonBottomJPanel.add(getPreparationDeliveryB(), null);
            preparationButtonBottomJPanel.add(getPreparationCustomerB(), null);
            preparationButtonBottomJPanel.add(getPreparationSupplierB(), null);
            preparationButtonBottomJPanel.add(getPreparationItemB(), null);
            preparationButtonBottomJPanel.add(getPreparationInventoryB(), null);
        }
        return preparationButtonBottomJPanel;
    }

    private JPanel getSendingButtonTopJPanel() {
        if (sendingButtonTopJPanel == null) {
            GridLayout gridLayout7 = new GridLayout();
            sendingButtonTopJPanel = new JPanel();
            sendingButtonTopJPanel.setLayout(gridLayout7);
            gridLayout7.setColumns(1);
            gridLayout7.setRows(4);
            sendingButtonTopJPanel.add(getSendingPiecesB(), null);
            sendingButtonTopJPanel.add(getSendingReceptionB(), null);
            sendingButtonTopJPanel.add(getSendingPreparationB(), null);
            sendingButtonTopJPanel.add(getSendingSendingB(), null);
        }
        return sendingButtonTopJPanel;
    }

    private JPanel getSendingMainJPanel() {
        if (sendingMainJPanel == null) {
            sendingMainJPanel = new JPanel();
            sendingMainJPanel.setLayout(new BorderLayout());
            sendingMainJPanel.setBorder(BorderFactory.createLineBorder(Color.green, 1));
            sendingMainJPanel.add(getSendingPanel(), "Center");
            sendingMainJPanel.add(getSendingCmdPanel(), "North");
        }
        return sendingMainJPanel;
    }

    private JPanel getSendingButtonBottomJPanel() {
        if (sendingButtonBottomJPanel == null) {
            GridLayout gridLayout8 = new GridLayout();
            sendingButtonBottomJPanel = new JPanel();
            sendingButtonBottomJPanel.setLayout(gridLayout8);
            gridLayout8.setColumns(1);
            gridLayout8.setRows(5);
            sendingButtonBottomJPanel.add(getSendingDeliveryB(), null);
            sendingButtonBottomJPanel.add(getSendingCustomerB(), null);
            sendingButtonBottomJPanel.add(getSendingSupplierB(), null);
            sendingButtonBottomJPanel.add(getSendingItemB(), null);
            sendingButtonBottomJPanel.add(getSendingInventoryB(), null);
        }
        return sendingButtonBottomJPanel;
    }

    private JPanel getInventoryButtonTopJPanel() {
        if (inventoryButtonTopJPanel == null) {
            GridLayout gridLayout7 = new GridLayout();
            inventoryButtonTopJPanel = new JPanel();
            inventoryButtonTopJPanel.setLayout(gridLayout7);
            gridLayout7.setColumns(1);
            gridLayout7.setRows(9);
            inventoryButtonTopJPanel.add(getInventoryPiecesB(), null);
            inventoryButtonTopJPanel.add(getInventoryReceptionB(), null);
            inventoryButtonTopJPanel.add(getInventoryPreparationB(), null);
            inventoryButtonTopJPanel.add(getInventorySendingB(), null);
            inventoryButtonTopJPanel.add(getInventoryDeliveryB(), null);
            inventoryButtonTopJPanel.add(getInventoryCustomerB(), null);
            inventoryButtonTopJPanel.add(getInventorySupplierB(), null);
            inventoryButtonTopJPanel.add(getInventoryItemB(), null);
            inventoryButtonTopJPanel.add(getInventoryInventoryB(), null);
        }
        return inventoryButtonTopJPanel;
    }

    private JPanel getInventoryMainJPanel() {
        if (inventoryMainJPanel == null) {
            inventoryMainJPanel = new JPanel();
            inventoryMainJPanel.setLayout(new BorderLayout());
            inventoryMainJPanel.setBorder(BorderFactory.createLineBorder(Color.blue, 1));
            inventoryMainJPanel.add(getInventoryListPanel(), "Center");
        }
        return inventoryMainJPanel;
    }

    private InventoryListPanel getInventoryListPanel() {
        if (inventoryListPanel == null) {
            inventoryListPanel = new InventoryListPanel();
        }
        return inventoryListPanel;
    }

    private JPanel getInventoryButtonBottomJPanel() {
        if (inventoryButtonBottomJPanel == null) {
            GridLayout gridLayout8 = new GridLayout();
            inventoryButtonBottomJPanel = new JPanel();
            inventoryButtonBottomJPanel.setLayout(gridLayout8);
            gridLayout8.setColumns(1);
            gridLayout8.setRows(1);
        }
        return inventoryButtonBottomJPanel;
    }

    private JPanel getCustomerButtonTopJPanel() {
        if (customerButtonTopJPanel == null) {
            GridLayout gridLayout9 = new GridLayout();
            customerButtonTopJPanel = new JPanel();
            customerButtonTopJPanel.setLayout(gridLayout9);
            gridLayout9.setColumns(1);
            gridLayout9.setRows(6);
            customerButtonTopJPanel.add(getCustomerPiecesB(), null);
            customerButtonTopJPanel.add(getCustomerReceptionB(), null);
            customerButtonTopJPanel.add(getCustomerPreparationB(), null);
            customerButtonTopJPanel.add(getCustomerSendingB(), null);
            customerButtonTopJPanel.add(getCustomerDeliveryB(), null);
            customerButtonTopJPanel.add(getCustomerCustomerB(), null);
        }
        return customerButtonTopJPanel;
    }

    private JPanel getCustomerMainJPanel() {
        if (customerMainJPanel == null) {
            customerMainJPanel = new JPanel();
            customerMainJPanel.setLayout(new BorderLayout());
            customerMainJPanel.setBorder(BorderFactory.createLineBorder(Color.orange, 1));
            customerMainJPanel.add(getCustomerSearch(), "North");
            customerMainJPanel.add(getCustomerTable(), "Center");
        }
        return customerMainJPanel;
    }

    private JPanel getCustomerButtonBottomJPanel() {
        if (customerButtonBottomJPanel == null) {
            GridLayout gridLayout10 = new GridLayout();
            customerButtonBottomJPanel = new JPanel();
            customerButtonBottomJPanel.setLayout(gridLayout10);
            gridLayout10.setColumns(1);
            gridLayout10.setRows(3);
            customerButtonBottomJPanel.add(getCustomerSupplierB(), null);
            customerButtonBottomJPanel.add(getCustomerItemB(), null);
            customerButtonBottomJPanel.add(getCustomerInventoryB(), null);
        }
        return customerButtonBottomJPanel;
    }

    private JPanel getSupplierBottonTopJPanel() {
        if (supplierBottonTopJPanel == null) {
            GridLayout gridLayout11 = new GridLayout();
            supplierBottonTopJPanel = new JPanel();
            supplierBottonTopJPanel.setLayout(gridLayout11);
            gridLayout11.setColumns(1);
            gridLayout11.setVgap(0);
            gridLayout11.setRows(7);
            supplierBottonTopJPanel.add(getSupplierPiecesB(), null);
            supplierBottonTopJPanel.add(getSupplierReceptionB(), null);
            supplierBottonTopJPanel.add(getSupplierPreparationB(), null);
            supplierBottonTopJPanel.add(getSupplierSendingB(), null);
            supplierBottonTopJPanel.add(getSupplierDeliveryB(), null);
            supplierBottonTopJPanel.add(getSupplierCustomerB(), null);
            supplierBottonTopJPanel.add(getSupplierSupplierB(), null);
        }
        return supplierBottonTopJPanel;
    }

    private JPanel getSupplierMainJPanel() {
        if (supplierMainJPanel == null) {
            supplierMainJPanel = new JPanel();
            supplierMainJPanel.setLayout(new BorderLayout());
            supplierMainJPanel.setBorder(BorderFactory.createLineBorder(Color.red, 1));
            supplierMainJPanel.add(getSupplierSearch(), "North");
            supplierMainJPanel.add(getSupplierTable(), "Center");
        }
        return supplierMainJPanel;
    }

    private JPanel getSupplierButtonBottomJPanel() {
        if (supplierButtonBottomJPanel == null) {
            GridLayout gridLayout12 = new GridLayout();
            supplierButtonBottomJPanel = new JPanel();
            supplierButtonBottomJPanel.setLayout(gridLayout12);
            gridLayout12.setColumns(1);
            gridLayout12.setRows(2);
            supplierButtonBottomJPanel.add(getSupplierItemB(), null);
            supplierButtonBottomJPanel.add(getSupplierInventoryB(), null);
        }
        return supplierButtonBottomJPanel;
    }

    private JPanel getItemButtonBottomJPanel() {
        if (itemButtonBottomJPanel == null) {
            GridLayout gridLayout14 = new GridLayout();
            itemButtonBottomJPanel = new JPanel();
            itemButtonBottomJPanel.setLayout(gridLayout14);
            gridLayout14.setColumns(1);
            gridLayout14.setRows(1);
            itemButtonBottomJPanel.add(getItemInventoryB(), null);
        }
        return itemButtonBottomJPanel;
    }

    private JPanel getItemButtonTopJPanel() {
        if (itemButtonTopJPanel == null) {
            GridLayout gridLayout13 = new GridLayout();
            itemButtonTopJPanel = new JPanel();
            itemButtonTopJPanel.setLayout(gridLayout13);
            gridLayout13.setColumns(1);
            gridLayout13.setRows(8);
            itemButtonTopJPanel.add(getItemPiecesB(), null);
            itemButtonTopJPanel.add(getItemReceptionB(), null);
            itemButtonTopJPanel.add(getItemPreparationB(), null);
            itemButtonTopJPanel.add(getItemSendingB(), null);
            itemButtonTopJPanel.add(getItemDeliveryB(), null);
            itemButtonTopJPanel.add(getItemCustomerB(), null);
            itemButtonTopJPanel.add(getItemSupplierB(), null);
            itemButtonTopJPanel.add(getItemItemB(), null);
        }
        return itemButtonTopJPanel;
    }

    private JPanel getItemMainJPanel() {
        if (itemMainJPanel == null) {
            itemMainJPanel = new JPanel();
            itemMainJPanel.setLayout(new BorderLayout());
            itemMainJPanel.setBorder(BorderFactory.createLineBorder(new Color(153, 0, 255), 1));
            itemMainJPanel.add(getItemSearch(), "North");
            itemMainJPanel.add(getItemTable(), "Center");
        }
        return itemMainJPanel;
    }

    private JButton getPiecesPiecesB() {
        if (piecesPiecesB == null) {
            piecesPiecesB = new JButton();
            piecesPiecesB.setText(Messages.getString("StockGUI.piece"));
            piecesPiecesB.setHorizontalAlignment(2);
            piecesPiecesB.setPreferredSize(new Dimension(65, 18));
            piecesPiecesB.setContentAreaFilled(false);
            piecesPiecesB.setBorder(new SoftBevelBorder(0));
            piecesPiecesB.setIcon(new ImageIcon(getClass().getResource("/org/jpgolay/me/images/pieces16x16.png")));
            piecesPiecesB.setFont(new Font("Microsoft Sans Serif", 1, 12));
            piecesPiecesB.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    ((CardLayout) getListJPanel().getLayout()).show(getListJPanel(), getWelcomeJPanel().getName());
                }
            });
        }
        return piecesPiecesB;
    }

    private JButton getPiecesDeliveryB() {
        if (piecesDeliveryB == null) {
            piecesDeliveryB = new JButton();
            piecesDeliveryB.setHorizontalAlignment(2);
            piecesDeliveryB.setText(Messages.getString("StockGUI.delivery"));
            piecesDeliveryB.setPreferredSize(new Dimension(51, 18));
            piecesDeliveryB.setContentAreaFilled(false);
            piecesDeliveryB.setBorder(new SoftBevelBorder(0));
            piecesDeliveryB.setIcon(new ImageIcon(getClass().getResource("/org/jpgolay/me/images/delivery16x16.png")));
            piecesDeliveryB.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    ((CardLayout) getListJPanel().getLayout()).show(getListJPanel(), getDeliveryJPanel().getName());
                }
            });
        }
        return piecesDeliveryB;
    }

    private JButton getPiecesReceptionB() {
        if (piecesReceptionB == null) {
            piecesReceptionB = new JButton();
            piecesReceptionB.setText(Messages.getString("StockGUI.reception"));
            piecesReceptionB.setHorizontalAlignment(2);
            piecesReceptionB.setPreferredSize(new Dimension(51, 18));
            piecesReceptionB.setContentAreaFilled(false);
            piecesReceptionB.setBorder(new SoftBevelBorder(0));
            piecesReceptionB.setIcon(new ImageIcon(getClass().getResource("/org/jpgolay/me/images/reception16x16.png")));
            piecesReceptionB.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    ((CardLayout) getListJPanel().getLayout()).show(getListJPanel(), getReceptionJPanel().getName());
                }
            });
        }
        return piecesReceptionB;
    }

    private JButton getPiecesPreparationB() {
        if (piecesPreparationB == null) {
            piecesPreparationB = new JButton();
            piecesPreparationB.setText(Messages.getString("StockGUI.preparation"));
            piecesPreparationB.setHorizontalAlignment(2);
            piecesPreparationB.setPreferredSize(new Dimension(51, 18));
            piecesPreparationB.setContentAreaFilled(false);
            piecesPreparationB.setBorder(new SoftBevelBorder(0));
            piecesPreparationB.setIcon(new ImageIcon(getClass().getResource("/org/jpgolay/me/images/preparation16x16.png")));
            piecesPreparationB.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    ((CardLayout) getListJPanel().getLayout()).show(getListJPanel(), getPreparationJPanel().getName());
                }
            });
        }
        return piecesPreparationB;
    }

    private JButton getPiecesCustomerB() {
        if (piecesCustomerB == null) {
            piecesCustomerB = new JButton();
            piecesCustomerB.setText(Messages.getString("StockGUI.customer"));
            piecesCustomerB.setHorizontalAlignment(2);
            piecesCustomerB.setPreferredSize(new Dimension(51, 18));
            piecesCustomerB.setContentAreaFilled(false);
            piecesCustomerB.setBorder(new SoftBevelBorder(0));
            piecesCustomerB.setIcon(new ImageIcon(getClass().getResource("/org/jpgolay/me/images/customerList16x16.png")));
            piecesCustomerB.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    ((CardLayout) getListJPanel().getLayout()).show(getListJPanel(), getCustomerJPanel().getName());
                }
            });
        }
        return piecesCustomerB;
    }

    private JButton getPiecesSupplierB() {
        if (piecesSupplierB == null) {
            piecesSupplierB = new JButton();
            piecesSupplierB.setText(Messages.getString("StockGUI.supplier"));
            piecesSupplierB.setHorizontalAlignment(2);
            piecesSupplierB.setPreferredSize(new Dimension(51, 18));
            piecesSupplierB.setContentAreaFilled(false);
            piecesSupplierB.setBorder(new SoftBevelBorder(0));
            piecesSupplierB.setIcon(new ImageIcon(getClass().getResource("/org/jpgolay/me/images/supplierList16x16.png")));
            piecesSupplierB.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    ((CardLayout) getListJPanel().getLayout()).show(getListJPanel(), getSupplierJPanel().getName());
                }
            });
        }
        return piecesSupplierB;
    }

    private JButton getPiecesItemB() {
        if (piecesItemB == null) {
            piecesItemB = new JButton();
            piecesItemB.setText(Messages.getString("StockGUI.item"));
            piecesItemB.setHorizontalAlignment(2);
            piecesItemB.setPreferredSize(new Dimension(51, 18));
            piecesItemB.setContentAreaFilled(false);
            piecesItemB.setBorder(new SoftBevelBorder(0));
            piecesItemB.setIcon(new ImageIcon(getClass().getResource("/org/jpgolay/me/images/itemList16x16.png")));
            piecesItemB.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    ((CardLayout) getListJPanel().getLayout()).show(getListJPanel(), getItemJPanel().getName());
                }
            });
        }
        return piecesItemB;
    }

    private JButton getSendingPiecesB() {
        if (sendingPiecesB == null) {
            sendingPiecesB = new JButton();
            sendingPiecesB.setText(Messages.getString("StockGUI.piece"));
            sendingPiecesB.setHorizontalAlignment(2);
            sendingPiecesB.setPreferredSize(new Dimension(65, 18));
            sendingPiecesB.setContentAreaFilled(false);
            sendingPiecesB.setBorder(new SoftBevelBorder(0));
            sendingPiecesB.setIcon(new ImageIcon(getClass().getResource("/org/jpgolay/me/images/pieces16x16.png")));
            sendingPiecesB.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    ((CardLayout) getListJPanel().getLayout()).show(getListJPanel(), getPiecesJPanel().getName());
                }
            });
        }
        return sendingPiecesB;
    }

    private JButton getSendingDeliveryB() {
        if (sendingDeliveryB == null) {
            sendingDeliveryB = new JButton();
            sendingDeliveryB.setHorizontalAlignment(2);
            sendingDeliveryB.setText(Messages.getString("StockGUI.delivery"));
            sendingDeliveryB.setPreferredSize(new Dimension(51, 18));
            sendingDeliveryB.setContentAreaFilled(false);
            sendingDeliveryB.setBorder(new SoftBevelBorder(0));
            sendingDeliveryB.setIcon(new ImageIcon(getClass().getResource("/org/jpgolay/me/images/delivery16x16.png")));
            sendingDeliveryB.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    ((CardLayout) getListJPanel().getLayout()).show(getListJPanel(), getDeliveryJPanel().getName());
                }
            });
        }
        return sendingDeliveryB;
    }

    private JButton getSendingReceptionB() {
        if (sendingReceptionB == null) {
            sendingReceptionB = new JButton();
            sendingReceptionB.setText(Messages.getString("StockGUI.reception"));
            sendingReceptionB.setHorizontalAlignment(2);
            sendingReceptionB.setPreferredSize(new Dimension(51, 18));
            sendingReceptionB.setContentAreaFilled(false);
            sendingReceptionB.setBorder(new SoftBevelBorder(0));
            sendingReceptionB.setIcon(new ImageIcon(getClass().getResource("/org/jpgolay/me/images/reception16x16.png")));
            sendingReceptionB.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    ((CardLayout) getListJPanel().getLayout()).show(getListJPanel(), getReceptionJPanel().getName());
                }
            });
        }
        return sendingReceptionB;
    }

    private JButton getSendingPreparationB() {
        if (sendingPreparationB == null) {
            sendingPreparationB = new JButton();
            sendingPreparationB.setText(Messages.getString("StockGUI.preparation"));
            sendingPreparationB.setHorizontalAlignment(2);
            sendingPreparationB.setPreferredSize(new Dimension(51, 18));
            sendingPreparationB.setContentAreaFilled(false);
            sendingPreparationB.setBorder(new SoftBevelBorder(0));
            sendingPreparationB.setIcon(new ImageIcon(getClass().getResource("/org/jpgolay/me/images/preparation16x16.png")));
            sendingPreparationB.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    ((CardLayout) getListJPanel().getLayout()).show(getListJPanel(), getPreparationJPanel().getName());
                }
            });
        }
        return sendingPreparationB;
    }

    private JButton getSendingCustomerB() {
        if (sendingCustomerB == null) {
            sendingCustomerB = new JButton();
            sendingCustomerB.setText(Messages.getString("StockGUI.customer"));
            sendingCustomerB.setHorizontalAlignment(2);
            sendingCustomerB.setPreferredSize(new Dimension(51, 18));
            sendingCustomerB.setContentAreaFilled(false);
            sendingCustomerB.setBorder(new SoftBevelBorder(0));
            sendingCustomerB.setIcon(new ImageIcon(getClass().getResource("/org/jpgolay/me/images/customerList16x16.png")));
            sendingCustomerB.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    ((CardLayout) getListJPanel().getLayout()).show(getListJPanel(), getCustomerJPanel().getName());
                }
            });
        }
        return sendingCustomerB;
    }

    private SendingListPanel getSendingListPanel() {
        if (sendingListPanel == null) {
            sendingListPanel = new SendingListPanel();
        }
        return sendingListPanel;
    }

    private JButton getSendingSupplierB() {
        if (sendingSupplierB == null) {
            sendingSupplierB = new JButton();
            sendingSupplierB.setText(Messages.getString("StockGUI.supplier"));
            sendingSupplierB.setHorizontalAlignment(2);
            sendingSupplierB.setPreferredSize(new Dimension(51, 18));
            sendingSupplierB.setContentAreaFilled(false);
            sendingSupplierB.setBorder(new SoftBevelBorder(0));
            sendingSupplierB.setIcon(new ImageIcon(getClass().getResource("/org/jpgolay/me/images/supplierList16x16.png")));
            sendingSupplierB.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    ((CardLayout) getListJPanel().getLayout()).show(getListJPanel(), getSupplierJPanel().getName());
                }
            });
        }
        return sendingSupplierB;
    }

    private JButton getSendingItemB() {
        if (sendingItemB == null) {
            sendingItemB = new JButton();
            sendingItemB.setText(Messages.getString("StockGUI.item"));
            sendingItemB.setHorizontalAlignment(2);
            sendingItemB.setPreferredSize(new Dimension(51, 18));
            sendingItemB.setContentAreaFilled(false);
            sendingItemB.setBorder(new SoftBevelBorder(0));
            sendingItemB.setIcon(new ImageIcon(getClass().getResource("/org/jpgolay/me/images/itemList16x16.png")));
            sendingItemB.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    ((CardLayout) getListJPanel().getLayout()).show(getListJPanel(), getItemJPanel().getName());
                }
            });
        }
        return sendingItemB;
    }

    private JButton getInventoryPiecesB() {
        if (inventoryPiecesB == null) {
            inventoryPiecesB = new JButton();
            inventoryPiecesB.setText(Messages.getString("StockGUI.piece"));
            inventoryPiecesB.setHorizontalAlignment(2);
            inventoryPiecesB.setPreferredSize(new Dimension(65, 18));
            inventoryPiecesB.setContentAreaFilled(false);
            inventoryPiecesB.setBorder(new SoftBevelBorder(0));
            inventoryPiecesB.setIcon(new ImageIcon(getClass().getResource("/org/jpgolay/me/images/pieces16x16.png")));
            inventoryPiecesB.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    ((CardLayout) getListJPanel().getLayout()).show(getListJPanel(), getPiecesJPanel().getName());
                }
            });
        }
        return inventoryPiecesB;
    }

    private JButton getInventoryDeliveryB() {
        if (inventoryDeliveryB == null) {
            inventoryDeliveryB = new JButton();
            inventoryDeliveryB.setHorizontalAlignment(2);
            inventoryDeliveryB.setText(Messages.getString("StockGUI.delivery"));
            inventoryDeliveryB.setPreferredSize(new Dimension(51, 18));
            inventoryDeliveryB.setContentAreaFilled(false);
            inventoryDeliveryB.setBorder(new SoftBevelBorder(0));
            inventoryDeliveryB.setIcon(new ImageIcon(getClass().getResource("/org/jpgolay/me/images/delivery16x16.png")));
            inventoryDeliveryB.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    ((CardLayout) getListJPanel().getLayout()).show(getListJPanel(), getDeliveryJPanel().getName());
                }
            });
        }
        return inventoryDeliveryB;
    }

    private JButton getInventoryReceptionB() {
        if (inventoryReceptionB == null) {
            inventoryReceptionB = new JButton();
            inventoryReceptionB.setText(Messages.getString("StockGUI.reception"));
            inventoryReceptionB.setHorizontalAlignment(2);
            inventoryReceptionB.setPreferredSize(new Dimension(51, 18));
            inventoryReceptionB.setContentAreaFilled(false);
            inventoryReceptionB.setBorder(new SoftBevelBorder(0));
            inventoryReceptionB.setIcon(new ImageIcon(getClass().getResource("/org/jpgolay/me/images/reception16x16.png")));
            inventoryReceptionB.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    ((CardLayout) getListJPanel().getLayout()).show(getListJPanel(), getReceptionJPanel().getName());
                }
            });
        }
        return inventoryReceptionB;
    }

    private JButton getInventoryPreparationB() {
        if (inventoryPreparationB == null) {
            inventoryPreparationB = new JButton();
            inventoryPreparationB.setText(Messages.getString("StockGUI.preparation"));
            inventoryPreparationB.setHorizontalAlignment(2);
            inventoryPreparationB.setPreferredSize(new Dimension(51, 18));
            inventoryPreparationB.setContentAreaFilled(false);
            inventoryPreparationB.setBorder(new SoftBevelBorder(0));
            inventoryPreparationB.setIcon(new ImageIcon(getClass().getResource("/org/jpgolay/me/images/preparation16x16.png")));
            inventoryPreparationB.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    ((CardLayout) getListJPanel().getLayout()).show(getListJPanel(), getPreparationJPanel().getName());
                }
            });
        }
        return inventoryPreparationB;
    }

    private JButton getInventoryCustomerB() {
        if (inventoryCustomerB == null) {
            inventoryCustomerB = new JButton();
            inventoryCustomerB.setText(Messages.getString("StockGUI.customer"));
            inventoryCustomerB.setHorizontalAlignment(2);
            inventoryCustomerB.setPreferredSize(new Dimension(51, 18));
            inventoryCustomerB.setContentAreaFilled(false);
            inventoryCustomerB.setBorder(new SoftBevelBorder(0));
            inventoryCustomerB.setIcon(new ImageIcon(getClass().getResource("/org/jpgolay/me/images/customerList16x16.png")));
            inventoryCustomerB.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    ((CardLayout) getListJPanel().getLayout()).show(getListJPanel(), getCustomerJPanel().getName());
                }
            });
        }
        return inventoryCustomerB;
    }

    private JButton getInventorySupplierB() {
        if (inventorySupplierB == null) {
            inventorySupplierB = new JButton();
            inventorySupplierB.setText(Messages.getString("StockGUI.supplier"));
            inventorySupplierB.setHorizontalAlignment(2);
            inventorySupplierB.setPreferredSize(new Dimension(51, 18));
            inventorySupplierB.setContentAreaFilled(false);
            inventorySupplierB.setBorder(new SoftBevelBorder(0));
            inventorySupplierB.setIcon(new ImageIcon(getClass().getResource("/org/jpgolay/me/images/supplierList16x16.png")));
            inventorySupplierB.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    ((CardLayout) getListJPanel().getLayout()).show(getListJPanel(), getSupplierJPanel().getName());
                }
            });
        }
        return inventorySupplierB;
    }

    private JButton getInventoryItemB() {
        if (inventoryItemB == null) {
            inventoryItemB = new JButton();
            inventoryItemB.setText(Messages.getString("StockGUI.item"));
            inventoryItemB.setHorizontalAlignment(2);
            inventoryItemB.setPreferredSize(new Dimension(51, 18));
            inventoryItemB.setContentAreaFilled(false);
            inventoryItemB.setBorder(new SoftBevelBorder(0));
            inventoryItemB.setIcon(new ImageIcon(getClass().getResource("/org/jpgolay/me/images/itemList16x16.png")));
            inventoryItemB.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    ((CardLayout) getListJPanel().getLayout()).show(getListJPanel(), getItemJPanel().getName());
                }
            });
        }
        return inventoryItemB;
    }

    private JButton getDeliveryPiecesB() {
        if (deliveryPiecesB == null) {
            deliveryPiecesB = new JButton();
            deliveryPiecesB.setText(Messages.getString("StockGUI.piece"));
            deliveryPiecesB.setHorizontalAlignment(2);
            deliveryPiecesB.setPreferredSize(new Dimension(71, 18));
            deliveryPiecesB.setIcon(new ImageIcon(getClass().getResource("/org/jpgolay/me/images/pieces16x16.png")));
            deliveryPiecesB.setContentAreaFilled(false);
            deliveryPiecesB.setBorder(new SoftBevelBorder(0));
            deliveryPiecesB.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    ((CardLayout) getListJPanel().getLayout()).show(getListJPanel(), getPiecesJPanel().getName());
                }
            });
        }
        return deliveryPiecesB;
    }

    private JButton getDeliveryDeliveryB() {
        if (deliveryDeliveryB == null) {
            deliveryDeliveryB = new JButton();
            deliveryDeliveryB.setText(Messages.getString("StockGUI.delivery"));
            deliveryDeliveryB.setHorizontalAlignment(2);
            deliveryDeliveryB.setPreferredSize(new Dimension(71, 18));
            deliveryDeliveryB.setIcon(new ImageIcon(getClass().getResource("/org/jpgolay/me/images/delivery16x16.png")));
            deliveryDeliveryB.setContentAreaFilled(false);
            deliveryDeliveryB.setBorder(new SoftBevelBorder(0));
            deliveryDeliveryB.setFont(new Font("Microsoft Sans Serif", 1, 12));
            deliveryDeliveryB.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    ((CardLayout) getListJPanel().getLayout()).show(getListJPanel(), getWelcomeJPanel().getName());
                }
            });
        }
        return deliveryDeliveryB;
    }

    private JButton getDeliveryReceptionB() {
        if (deliveryReceptionB == null) {
            deliveryReceptionB = new JButton();
            deliveryReceptionB.setText(Messages.getString("StockGUI.reception"));
            deliveryReceptionB.setHorizontalAlignment(2);
            deliveryReceptionB.setPreferredSize(new Dimension(51, 18));
            deliveryReceptionB.setIcon(new ImageIcon(getClass().getResource("/org/jpgolay/me/images/reception16x16.png")));
            deliveryReceptionB.setContentAreaFilled(false);
            deliveryReceptionB.setBorder(new SoftBevelBorder(0));
            deliveryReceptionB.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    ((CardLayout) getListJPanel().getLayout()).show(getListJPanel(), getReceptionJPanel().getName());
                }
            });
        }
        return deliveryReceptionB;
    }

    private JButton getDeliveryPreparationB() {
        if (deliveryPreparationB == null) {
            deliveryPreparationB = new JButton();
            deliveryPreparationB.setText(Messages.getString("StockGUI.preparation"));
            deliveryPreparationB.setHorizontalAlignment(2);
            deliveryPreparationB.setPreferredSize(new Dimension(51, 18));
            deliveryPreparationB.setIcon(new ImageIcon(getClass().getResource("/org/jpgolay/me/images/preparation16x16.png")));
            deliveryPreparationB.setContentAreaFilled(false);
            deliveryPreparationB.setBorder(new SoftBevelBorder(0));
            deliveryPreparationB.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    ((CardLayout) getListJPanel().getLayout()).show(getListJPanel(), getPreparationJPanel().getName());
                }
            });
        }
        return deliveryPreparationB;
    }

    private JButton getDeliveryCustomerB() {
        if (deliveryCustomerB == null) {
            deliveryCustomerB = new JButton();
            deliveryCustomerB.setText(Messages.getString("StockGUI.customer"));
            deliveryCustomerB.setHorizontalAlignment(2);
            deliveryCustomerB.setPreferredSize(new Dimension(51, 18));
            deliveryCustomerB.setIcon(new ImageIcon(getClass().getResource("/org/jpgolay/me/images/customerList16x16.png")));
            deliveryCustomerB.setContentAreaFilled(false);
            deliveryCustomerB.setBorder(new SoftBevelBorder(0));
            deliveryCustomerB.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    ((CardLayout) getListJPanel().getLayout()).show(getListJPanel(), getCustomerJPanel().getName());
                }
            });
        }
        return deliveryCustomerB;
    }

    private JButton getDeliverySupplierB() {
        if (deliverySupplierB == null) {
            deliverySupplierB = new JButton();
            deliverySupplierB.setText(Messages.getString("StockGUI.supplier"));
            deliverySupplierB.setHorizontalAlignment(2);
            deliverySupplierB.setPreferredSize(new Dimension(51, 18));
            deliverySupplierB.setIcon(new ImageIcon(getClass().getResource("/org/jpgolay/me/images/supplierList16x16.png")));
            deliverySupplierB.setContentAreaFilled(false);
            deliverySupplierB.setBorder(new SoftBevelBorder(0));
            deliverySupplierB.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    ((CardLayout) getListJPanel().getLayout()).show(getListJPanel(), getSupplierJPanel().getName());
                }
            });
        }
        return deliverySupplierB;
    }

    private JButton getDeliveryItemB() {
        if (deliveryItemB == null) {
            deliveryItemB = new JButton();
            deliveryItemB.setText(Messages.getString("StockGUI.item"));
            deliveryItemB.setHorizontalAlignment(2);
            deliveryItemB.setPreferredSize(new Dimension(51, 18));
            deliveryItemB.setIcon(new ImageIcon(getClass().getResource("/org/jpgolay/me/images/itemList16x16.png")));
            deliveryItemB.setContentAreaFilled(false);
            deliveryItemB.setBorder(new SoftBevelBorder(0));
            deliveryItemB.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    ((CardLayout) getListJPanel().getLayout()).show(getListJPanel(), getItemJPanel().getName());
                }
            });
        }
        return deliveryItemB;
    }

    private JButton getReceptionPiecesB() {
        if (receptionPiecesB == null) {
            receptionPiecesB = new JButton();
            receptionPiecesB.setText(Messages.getString("StockGUI.piece"));
            receptionPiecesB.setHorizontalAlignment(2);
            receptionPiecesB.setPreferredSize(new Dimension(63, 18));
            receptionPiecesB.setContentAreaFilled(false);
            receptionPiecesB.setBorder(new SoftBevelBorder(0));
            receptionPiecesB.setIcon(new ImageIcon(getClass().getResource("/org/jpgolay/me/images/pieces16x16.png")));
            receptionPiecesB.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    ((CardLayout) getListJPanel().getLayout()).show(getListJPanel(), getPiecesJPanel().getName());
                }
            });
        }
        return receptionPiecesB;
    }

    private JButton getReceptionDeliveryB() {
        if (receptionDeliveryB == null) {
            receptionDeliveryB = new JButton();
            receptionDeliveryB.setText(Messages.getString("StockGUI.delivery"));
            receptionDeliveryB.setHorizontalAlignment(2);
            receptionDeliveryB.setPreferredSize(new Dimension(63, 18));
            receptionDeliveryB.setContentAreaFilled(false);
            receptionDeliveryB.setBorder(new SoftBevelBorder(0));
            receptionDeliveryB.setIcon(new ImageIcon(getClass().getResource("/org/jpgolay/me/images/delivery16x16.png")));
            receptionDeliveryB.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    ((CardLayout) getListJPanel().getLayout()).show(getListJPanel(), getDeliveryJPanel().getName());
                }
            });
        }
        return receptionDeliveryB;
    }

    private JButton getReceptionReceptionB() {
        if (receptionReceptionB == null) {
            receptionReceptionB = new JButton();
            receptionReceptionB.setText(Messages.getString("StockGUI.reception"));
            receptionReceptionB.setHorizontalAlignment(2);
            receptionReceptionB.setPreferredSize(new Dimension(63, 18));
            receptionReceptionB.setContentAreaFilled(false);
            receptionReceptionB.setBorder(new SoftBevelBorder(0));
            receptionReceptionB.setIcon(new ImageIcon(getClass().getResource("/org/jpgolay/me/images/reception16x16.png")));
            receptionReceptionB.setBackground(new Color(236, 233, 216));
            receptionReceptionB.setFont(new Font("Microsoft Sans Serif", 1, 12));
            receptionReceptionB.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    ((CardLayout) getListJPanel().getLayout()).show(getListJPanel(), getWelcomeJPanel().getName());
                }
            });
        }
        return receptionReceptionB;
    }

    private JButton getReceptionPreparationB() {
        if (receptionPreparationB == null) {
            receptionPreparationB = new JButton();
            receptionPreparationB.setHorizontalAlignment(2);
            receptionPreparationB.setText(Messages.getString("StockGUI.preparation"));
            receptionPreparationB.setPreferredSize(new Dimension(51, 18));
            receptionPreparationB.setContentAreaFilled(false);
            receptionPreparationB.setBorder(new SoftBevelBorder(0));
            receptionPreparationB.setIcon(new ImageIcon(getClass().getResource("/org/jpgolay/me/images/preparation16x16.png")));
            receptionPreparationB.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    ((CardLayout) getListJPanel().getLayout()).show(getListJPanel(), getPreparationJPanel().getName());
                }
            });
        }
        return receptionPreparationB;
    }

    private JButton getReceptionCustomerB() {
        if (receptionCustomerB == null) {
            receptionCustomerB = new JButton();
            receptionCustomerB.setHorizontalAlignment(2);
            receptionCustomerB.setText(Messages.getString("StockGUI.customer"));
            receptionCustomerB.setPreferredSize(new Dimension(51, 18));
            receptionCustomerB.setContentAreaFilled(false);
            receptionCustomerB.setBorder(new SoftBevelBorder(0));
            receptionCustomerB.setIcon(new ImageIcon(getClass().getResource("/org/jpgolay/me/images/customerList16x16.png")));
            receptionCustomerB.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    ((CardLayout) getListJPanel().getLayout()).show(getListJPanel(), getCustomerJPanel().getName());
                }
            });
        }
        return receptionCustomerB;
    }

    private JButton getReceptionSupplierB() {
        if (receptionSupplierB == null) {
            receptionSupplierB = new JButton();
            receptionSupplierB.setHorizontalAlignment(2);
            receptionSupplierB.setText(Messages.getString("StockGUI.supplier"));
            receptionSupplierB.setPreferredSize(new Dimension(51, 18));
            receptionSupplierB.setContentAreaFilled(false);
            receptionSupplierB.setBorder(new SoftBevelBorder(0));
            receptionSupplierB.setIcon(new ImageIcon(getClass().getResource("/org/jpgolay/me/images/supplierList16x16.png")));
            receptionSupplierB.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    ((CardLayout) getListJPanel().getLayout()).show(getListJPanel(), getSupplierJPanel().getName());
                }
            });
        }
        return receptionSupplierB;
    }

    private JButton getReceptionItemB() {
        if (receptionItemB == null) {
            receptionItemB = new JButton();
            receptionItemB.setHorizontalAlignment(2);
            receptionItemB.setText(Messages.getString("StockGUI.item"));
            receptionItemB.setPreferredSize(new Dimension(51, 18));
            receptionItemB.setContentAreaFilled(false);
            receptionItemB.setBorder(new SoftBevelBorder(0));
            receptionItemB.setIcon(new ImageIcon(getClass().getResource("/org/jpgolay/me/images/itemList16x16.png")));
            receptionItemB.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    ((CardLayout) getListJPanel().getLayout()).show(getListJPanel(), getItemJPanel().getName());
                }
            });
        }
        return receptionItemB;
    }

    private JButton getPreparationPieceB() {
        if (preparationPieceB == null) {
            preparationPieceB = new JButton();
            preparationPieceB.setHorizontalAlignment(2);
            preparationPieceB.setText(Messages.getString("StockGUI.piece"));
            preparationPieceB.setPreferredSize(new Dimension(73, 18));
            preparationPieceB.setContentAreaFilled(false);
            preparationPieceB.setBorder(new SoftBevelBorder(0));
            preparationPieceB.setIcon(new ImageIcon(getClass().getResource("/org/jpgolay/me/images/pieces16x16.png")));
            preparationPieceB.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    ((CardLayout) getListJPanel().getLayout()).show(getListJPanel(), getPiecesJPanel().getName());
                }
            });
        }
        return preparationPieceB;
    }

    private JButton getPreparationDeliveryB() {
        if (preparationDeliveryB == null) {
            preparationDeliveryB = new JButton();
            preparationDeliveryB.setHorizontalAlignment(2);
            preparationDeliveryB.setText(Messages.getString("StockGUI.delivery"));
            preparationDeliveryB.setPreferredSize(new Dimension(73, 18));
            preparationDeliveryB.setContentAreaFilled(false);
            preparationDeliveryB.setBorder(new SoftBevelBorder(0));
            preparationDeliveryB.setIcon(new ImageIcon(getClass().getResource("/org/jpgolay/me/images/delivery16x16.png")));
            preparationDeliveryB.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    ((CardLayout) getListJPanel().getLayout()).show(getListJPanel(), getDeliveryJPanel().getName());
                }
            });
        }
        return preparationDeliveryB;
    }

    private JButton getPreparationtReceptionB() {
        if (preparationtReceptionB == null) {
            preparationtReceptionB = new JButton();
            preparationtReceptionB.setHorizontalAlignment(2);
            preparationtReceptionB.setText(Messages.getString("StockGUI.reception"));
            preparationtReceptionB.setPreferredSize(new Dimension(73, 18));
            preparationtReceptionB.setContentAreaFilled(false);
            preparationtReceptionB.setBorder(new SoftBevelBorder(0));
            preparationtReceptionB.setIcon(new ImageIcon(getClass().getResource("/org/jpgolay/me/images/reception16x16.png")));
            preparationtReceptionB.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    ((CardLayout) getListJPanel().getLayout()).show(getListJPanel(), getReceptionJPanel().getName());
                }
            });
        }
        return preparationtReceptionB;
    }

    private JButton getPreparationPreparationB() {
        if (preparationPreparationB == null) {
            preparationPreparationB = new JButton();
            preparationPreparationB.setHorizontalAlignment(2);
            preparationPreparationB.setText(Messages.getString("StockGUI.preparation"));
            preparationPreparationB.setPreferredSize(new Dimension(73, 18));
            preparationPreparationB.setContentAreaFilled(false);
            preparationPreparationB.setBorder(new SoftBevelBorder(0));
            preparationPreparationB.setIcon(new ImageIcon(getClass().getResource("/org/jpgolay/me/images/preparation16x16.png")));
            preparationPreparationB.setFont(new Font("Microsoft Sans Serif", 1, 12));
            preparationPreparationB.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    ((CardLayout) getListJPanel().getLayout()).show(getListJPanel(), getWelcomeJPanel().getName());
                }
            });
        }
        return preparationPreparationB;
    }

    private JButton getPreparationCustomerB() {
        if (preparationCustomerB == null) {
            preparationCustomerB = new JButton();
            preparationCustomerB.setHorizontalAlignment(2);
            preparationCustomerB.setText(Messages.getString("StockGUI.customer"));
            preparationCustomerB.setPreferredSize(new Dimension(79, 18));
            preparationCustomerB.setContentAreaFilled(false);
            preparationCustomerB.setBorder(new SoftBevelBorder(0));
            preparationCustomerB.setIcon(new ImageIcon(getClass().getResource("/org/jpgolay/me/images/customerList16x16.png")));
            preparationCustomerB.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    ((CardLayout) getListJPanel().getLayout()).show(getListJPanel(), getCustomerJPanel().getName());
                }
            });
        }
        return preparationCustomerB;
    }

    private JButton getPreparationSupplierB() {
        if (preparationSupplierB == null) {
            preparationSupplierB = new JButton();
            preparationSupplierB.setHorizontalAlignment(2);
            preparationSupplierB.setText(Messages.getString("StockGUI.supplier"));
            preparationSupplierB.setPreferredSize(new Dimension(79, 18));
            preparationSupplierB.setContentAreaFilled(false);
            preparationSupplierB.setBorder(new SoftBevelBorder(0));
            preparationSupplierB.setIcon(new ImageIcon(getClass().getResource("/org/jpgolay/me/images/supplierList16x16.png")));
            preparationSupplierB.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    ((CardLayout) getListJPanel().getLayout()).show(getListJPanel(), getSupplierJPanel().getName());
                }
            });
        }
        return preparationSupplierB;
    }

    private JButton getPreparationItemB() {
        if (preparationItemB == null) {
            preparationItemB = new JButton();
            preparationItemB.setHorizontalAlignment(2);
            preparationItemB.setText(Messages.getString("StockGUI.item"));
            preparationItemB.setPreferredSize(new Dimension(79, 18));
            preparationItemB.setContentAreaFilled(false);
            preparationItemB.setBorder(new SoftBevelBorder(0));
            preparationItemB.setIcon(new ImageIcon(getClass().getResource("/org/jpgolay/me/images/itemList16x16.png")));
            preparationItemB.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    ((CardLayout) getListJPanel().getLayout()).show(getListJPanel(), getItemJPanel().getName());
                }
            });
        }
        return preparationItemB;
    }

    private JButton getCustomerPiecesB() {
        if (customerPiecesB == null) {
            customerPiecesB = new JButton();
            customerPiecesB.setText(Messages.getString("StockGUI.piece"));
            customerPiecesB.setHorizontalAlignment(2);
            customerPiecesB.setPreferredSize(new Dimension(79, 18));
            customerPiecesB.setContentAreaFilled(false);
            customerPiecesB.setBorder(new SoftBevelBorder(0));
            customerPiecesB.setIcon(new ImageIcon(getClass().getResource("/org/jpgolay/me/images/pieces16x16.png")));
            customerPiecesB.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    ((CardLayout) getListJPanel().getLayout()).show(getListJPanel(), getPiecesJPanel().getName());
                }
            });
        }
        return customerPiecesB;
    }

    private JButton getCustomerDeliveryB() {
        if (customerDeliveryB == null) {
            customerDeliveryB = new JButton();
            customerDeliveryB.setHorizontalAlignment(2);
            customerDeliveryB.setText(Messages.getString("StockGUI.delivery"));
            customerDeliveryB.setPreferredSize(new Dimension(79, 18));
            customerDeliveryB.setContentAreaFilled(false);
            customerDeliveryB.setBorder(new SoftBevelBorder(0));
            customerDeliveryB.setIcon(new ImageIcon(getClass().getResource("/org/jpgolay/me/images/delivery16x16.png")));
            customerDeliveryB.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    ((CardLayout) getListJPanel().getLayout()).show(getListJPanel(), getDeliveryJPanel().getName());
                }
            });
        }
        return customerDeliveryB;
    }

    private JButton getCustomerReceptionB() {
        if (customerReceptionB == null) {
            customerReceptionB = new JButton();
            customerReceptionB.setHorizontalAlignment(2);
            customerReceptionB.setText(Messages.getString("StockGUI.reception"));
            customerReceptionB.setPreferredSize(new Dimension(79, 18));
            customerReceptionB.setContentAreaFilled(false);
            customerReceptionB.setBorder(new SoftBevelBorder(0));
            customerReceptionB.setIcon(new ImageIcon(getClass().getResource("/org/jpgolay/me/images/reception16x16.png")));
            customerReceptionB.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    ((CardLayout) getListJPanel().getLayout()).show(getListJPanel(), getReceptionJPanel().getName());
                }
            });
        }
        return customerReceptionB;
    }

    private JButton getCustomerPreparationB() {
        if (customerPreparationB == null) {
            customerPreparationB = new JButton();
            customerPreparationB.setHorizontalAlignment(2);
            customerPreparationB.setText(Messages.getString("StockGUI.preparation"));
            customerPreparationB.setPreferredSize(new Dimension(79, 18));
            customerPreparationB.setContentAreaFilled(false);
            customerPreparationB.setBorder(new SoftBevelBorder(0));
            customerPreparationB.setIcon(new ImageIcon(getClass().getResource("/org/jpgolay/me/images/preparation16x16.png")));
            customerPreparationB.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    ((CardLayout) getListJPanel().getLayout()).show(getListJPanel(), getPreparationJPanel().getName());
                }
            });
        }
        return customerPreparationB;
    }

    private JButton getCustomerCustomerB() {
        if (customerCustomerB == null) {
            customerCustomerB = new JButton();
            customerCustomerB.setHorizontalAlignment(2);
            customerCustomerB.setText(Messages.getString("StockGUI.customer"));
            customerCustomerB.setPreferredSize(new Dimension(79, 18));
            customerCustomerB.setContentAreaFilled(false);
            customerCustomerB.setBorder(new SoftBevelBorder(0));
            customerCustomerB.setIcon(new ImageIcon(getClass().getResource("/org/jpgolay/me/images/customerList16x16.png")));
            customerCustomerB.setFont(new Font("Microsoft Sans Serif", 1, 12));
            customerCustomerB.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    ((CardLayout) getListJPanel().getLayout()).show(getListJPanel(), getWelcomeJPanel().getName());
                }
            });
        }
        return customerCustomerB;
    }

    private JButton getCustomerSupplierB() {
        if (customerSupplierB == null) {
            customerSupplierB = new JButton();
            customerSupplierB.setHorizontalAlignment(2);
            customerSupplierB.setText(Messages.getString("StockGUI.supplier"));
            customerSupplierB.setPreferredSize(new Dimension(51, 18));
            customerSupplierB.setContentAreaFilled(false);
            customerSupplierB.setBorder(new SoftBevelBorder(0));
            customerSupplierB.setIcon(new ImageIcon(getClass().getResource("/org/jpgolay/me/images/supplierList16x16.png")));
            customerSupplierB.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    ((CardLayout) getListJPanel().getLayout()).show(getListJPanel(), getSupplierJPanel().getName());
                }
            });
        }
        return customerSupplierB;
    }

    private JButton getCustomerItemB() {
        if (customerItemB == null) {
            customerItemB = new JButton();
            customerItemB.setHorizontalAlignment(2);
            customerItemB.setText(Messages.getString("StockGUI.item"));
            customerItemB.setPreferredSize(new Dimension(51, 18));
            customerItemB.setContentAreaFilled(false);
            customerItemB.setBorder(new SoftBevelBorder(0));
            customerItemB.setIcon(new ImageIcon(getClass().getResource("/org/jpgolay/me/images/itemList16x16.png")));
            customerItemB.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    ((CardLayout) getListJPanel().getLayout()).show(getListJPanel(), getItemJPanel().getName());
                }
            });
        }
        return customerItemB;
    }

    private JButton getSupplierItemB() {
        if (supplierItemB == null) {
            supplierItemB = new JButton();
            supplierItemB.setHorizontalAlignment(2);
            supplierItemB.setText(Messages.getString("StockGUI.item"));
            supplierItemB.setPreferredSize(new Dimension(51, 18));
            supplierItemB.setContentAreaFilled(false);
            supplierItemB.setBorder(new SoftBevelBorder(0));
            supplierItemB.setIcon(new ImageIcon(getClass().getResource("/org/jpgolay/me/images/itemList16x16.png")));
            supplierItemB.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    ((CardLayout) getListJPanel().getLayout()).show(getListJPanel(), getItemJPanel().getName());
                }
            });
        }
        return supplierItemB;
    }

    private JButton getSupplierPiecesB() {
        if (supplierPiecesB == null) {
            supplierPiecesB = new JButton();
            supplierPiecesB.setHorizontalAlignment(2);
            supplierPiecesB.setText(Messages.getString("StockGUI.piece"));
            supplierPiecesB.setPreferredSize(new Dimension(71, 18));
            supplierPiecesB.setContentAreaFilled(false);
            supplierPiecesB.setBorder(new SoftBevelBorder(0));
            supplierPiecesB.setIcon(new ImageIcon(getClass().getResource("/org/jpgolay/me/images/pieces16x16.png")));
            supplierPiecesB.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    ((CardLayout) getListJPanel().getLayout()).show(getListJPanel(), getPiecesJPanel().getName());
                }
            });
        }
        return supplierPiecesB;
    }

    private JButton getSupplierDeliveryB() {
        if (supplierDeliveryB == null) {
            supplierDeliveryB = new JButton();
            supplierDeliveryB.setHorizontalAlignment(2);
            supplierDeliveryB.setText(Messages.getString("StockGUI.delivery"));
            supplierDeliveryB.setPreferredSize(new Dimension(71, 18));
            supplierDeliveryB.setContentAreaFilled(false);
            supplierDeliveryB.setBorder(new SoftBevelBorder(0));
            supplierDeliveryB.setIcon(new ImageIcon(getClass().getResource("/org/jpgolay/me/images/delivery16x16.png")));
            supplierDeliveryB.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    ((CardLayout) getListJPanel().getLayout()).show(getListJPanel(), getDeliveryJPanel().getName());
                }
            });
        }
        return supplierDeliveryB;
    }

    private JButton getSupplierReceptionB() {
        if (supplierReceptionB == null) {
            supplierReceptionB = new JButton();
            supplierReceptionB.setHorizontalAlignment(2);
            supplierReceptionB.setText(Messages.getString("StockGUI.reception"));
            supplierReceptionB.setPreferredSize(new Dimension(71, 18));
            supplierReceptionB.setContentAreaFilled(false);
            supplierReceptionB.setBorder(new SoftBevelBorder(0));
            supplierReceptionB.setIcon(new ImageIcon(getClass().getResource("/org/jpgolay/me/images/reception16x16.png")));
            supplierReceptionB.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    ((CardLayout) getListJPanel().getLayout()).show(getListJPanel(), getReceptionJPanel().getName());
                }
            });
        }
        return supplierReceptionB;
    }

    private JButton getSupplierPreparationB() {
        if (supplierPreparationB == null) {
            supplierPreparationB = new JButton();
            supplierPreparationB.setHorizontalAlignment(2);
            supplierPreparationB.setText(Messages.getString("StockGUI.preparation"));
            supplierPreparationB.setPreferredSize(new Dimension(71, 18));
            supplierPreparationB.setContentAreaFilled(false);
            supplierPreparationB.setBorder(new SoftBevelBorder(0));
            supplierPreparationB.setIcon(new ImageIcon(getClass().getResource("/org/jpgolay/me/images/preparation16x16.png")));
            supplierPreparationB.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    ((CardLayout) getListJPanel().getLayout()).show(getListJPanel(), getPreparationJPanel().getName());
                }
            });
        }
        return supplierPreparationB;
    }

    private JButton getSupplierCustomerB() {
        if (supplierCustomerB == null) {
            supplierCustomerB = new JButton();
            supplierCustomerB.setHorizontalAlignment(2);
            supplierCustomerB.setText(Messages.getString("StockGUI.customer"));
            supplierCustomerB.setPreferredSize(new Dimension(71, 18));
            supplierCustomerB.setContentAreaFilled(false);
            supplierCustomerB.setBorder(new SoftBevelBorder(0));
            supplierCustomerB.setIcon(new ImageIcon(getClass().getResource("/org/jpgolay/me/images/customerList16x16.png")));
            supplierCustomerB.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    ((CardLayout) getListJPanel().getLayout()).show(getListJPanel(), getCustomerJPanel().getName());
                }
            });
        }
        return supplierCustomerB;
    }

    private JButton getSupplierSupplierB() {
        if (supplierSupplierB == null) {
            supplierSupplierB = new JButton();
            supplierSupplierB.setHorizontalAlignment(2);
            supplierSupplierB.setText(Messages.getString("StockGUI.supplier"));
            supplierSupplierB.setPreferredSize(new Dimension(71, 18));
            supplierSupplierB.setContentAreaFilled(false);
            supplierSupplierB.setBorder(new SoftBevelBorder(0));
            supplierSupplierB.setIcon(new ImageIcon(getClass().getResource("/org/jpgolay/me/images/supplierList16x16.png")));
            supplierSupplierB.setFont(new Font("Microsoft Sans Serif", 1, 12));
            supplierSupplierB.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    ((CardLayout) getListJPanel().getLayout()).show(getListJPanel(), getWelcomeJPanel().getName());
                }
            });
        }
        return supplierSupplierB;
    }

    private JButton getItemPiecesB() {
        if (itemPiecesB == null) {
            itemPiecesB = new JButton();
            itemPiecesB.setHorizontalAlignment(2);
            itemPiecesB.setText(Messages.getString("StockGUI.piece"));
            itemPiecesB.setPreferredSize(new Dimension(51, 18));
            itemPiecesB.setContentAreaFilled(false);
            itemPiecesB.setBorder(new SoftBevelBorder(0));
            itemPiecesB.setIcon(new ImageIcon(getClass().getResource("/org/jpgolay/me/images/pieces16x16.png")));
            itemPiecesB.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    ((CardLayout) getListJPanel().getLayout()).show(getListJPanel(), getPiecesJPanel().getName());
                }
            });
        }
        return itemPiecesB;
    }

    private JButton getItemDeliveryB() {
        if (itemDeliveryB == null) {
            itemDeliveryB = new JButton();
            itemDeliveryB.setHorizontalAlignment(2);
            itemDeliveryB.setText(Messages.getString("StockGUI.delivery"));
            itemDeliveryB.setPreferredSize(new Dimension(51, 18));
            itemDeliveryB.setContentAreaFilled(false);
            itemDeliveryB.setBorder(new SoftBevelBorder(0));
            itemDeliveryB.setIcon(new ImageIcon(getClass().getResource("/org/jpgolay/me/images/delivery16x16.png")));
            itemDeliveryB.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    ((CardLayout) getListJPanel().getLayout()).show(getListJPanel(), getDeliveryJPanel().getName());
                }
            });
        }
        return itemDeliveryB;
    }

    private JButton getItemReceptionB() {
        if (itemReceptionB == null) {
            itemReceptionB = new JButton();
            itemReceptionB.setHorizontalAlignment(2);
            itemReceptionB.setText(Messages.getString("StockGUI.reception"));
            itemReceptionB.setPreferredSize(new Dimension(51, 18));
            itemReceptionB.setContentAreaFilled(false);
            itemReceptionB.setBorder(new SoftBevelBorder(0));
            itemReceptionB.setIcon(new ImageIcon(getClass().getResource("/org/jpgolay/me/images/reception16x16.png")));
            itemReceptionB.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    ((CardLayout) getListJPanel().getLayout()).show(getListJPanel(), getReceptionJPanel().getName());
                }
            });
        }
        return itemReceptionB;
    }

    private JButton getItemPreparationB() {
        if (itemPreparationB == null) {
            itemPreparationB = new JButton();
            itemPreparationB.setHorizontalAlignment(2);
            itemPreparationB.setText(Messages.getString("StockGUI.preparation"));
            itemPreparationB.setPreferredSize(new Dimension(51, 18));
            itemPreparationB.setContentAreaFilled(false);
            itemPreparationB.setBorder(new SoftBevelBorder(0));
            itemPreparationB.setIcon(new ImageIcon(getClass().getResource("/org/jpgolay/me/images/preparation16x16.png")));
            itemPreparationB.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    ((CardLayout) getListJPanel().getLayout()).show(getListJPanel(), getPreparationJPanel().getName());
                }
            });
        }
        return itemPreparationB;
    }

    private JButton getItemCustomerB() {
        if (itemCustomerB == null) {
            itemCustomerB = new JButton();
            itemCustomerB.setHorizontalAlignment(2);
            itemCustomerB.setText(Messages.getString("StockGUI.customer"));
            itemCustomerB.setPreferredSize(new Dimension(51, 18));
            itemCustomerB.setContentAreaFilled(false);
            itemCustomerB.setBorder(new SoftBevelBorder(0));
            itemCustomerB.setIcon(new ImageIcon(getClass().getResource("/org/jpgolay/me/images/customerList16x16.png")));
            itemCustomerB.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    ((CardLayout) getListJPanel().getLayout()).show(getListJPanel(), getCustomerJPanel().getName());
                }
            });
        }
        return itemCustomerB;
    }

    private JButton getItemSupplierB() {
        if (itemSupplierB == null) {
            itemSupplierB = new JButton();
            itemSupplierB.setHorizontalAlignment(2);
            itemSupplierB.setText(Messages.getString("StockGUI.supplier"));
            itemSupplierB.setPreferredSize(new Dimension(51, 18));
            itemSupplierB.setContentAreaFilled(false);
            itemSupplierB.setBorder(new SoftBevelBorder(0));
            itemSupplierB.setIcon(new ImageIcon(getClass().getResource("/org/jpgolay/me/images/supplierList16x16.png")));
            itemSupplierB.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    ((CardLayout) getListJPanel().getLayout()).show(getListJPanel(), getSupplierJPanel().getName());
                }
            });
        }
        return itemSupplierB;
    }

    private JButton getItemItemB() {
        if (itemItemB == null) {
            itemItemB = new JButton();
            itemItemB.setHorizontalAlignment(2);
            itemItemB.setText(Messages.getString("StockGUI.item"));
            itemItemB.setPreferredSize(new Dimension(51, 18));
            itemItemB.setContentAreaFilled(false);
            itemItemB.setBorder(new SoftBevelBorder(0));
            itemItemB.setIcon(new ImageIcon(getClass().getResource("/org/jpgolay/me/images/itemList16x16.png")));
            itemItemB.setFont(new Font("Microsoft Sans Serif", 1, 12));
            itemItemB.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    ((CardLayout) getListJPanel().getLayout()).show(getListJPanel(), getWelcomeJPanel().getName());
                }
            });
        }
        return itemItemB;
    }

    private JPanel getWelcomeJPanel() {
        if (welcomeJPanel == null) {
            welcomeJPanel = new JPanel();
            welcomeJPanel.setLayout(new BorderLayout());
            welcomeJPanel.setName("welcomeJPanel");
            welcomeJPanel.add(getWelcomeStatJPanel(), "Center");
            welcomeJPanel.add(getWelcomeButtonPanel(), "South");
        }
        return welcomeJPanel;
    }

    private JPanel getWelcomeStatJPanel() {
        if (welcomeStatJPanel == null) {
            welcomeStatJPanel = new JPanel();
            welcomeStatJPanel.setLayout(new BorderLayout());
            welcomeStatJPanel.setBorder(BorderFactory.createLineBorder(new Color(51, 153, 255), 2));
            welcomeStatJPanel.add(getStatisticsWelcomePiecesGUI(), "North");
        }
        return welcomeStatJPanel;
    }

    private JPanel getWelcomeButtonPanel() {
        if (welcomeButtonPanel == null) {
            GridLayout gridLayout15 = new GridLayout();
            welcomeButtonPanel = new JPanel();
            welcomeButtonPanel.setLayout(gridLayout15);
            gridLayout15.setRows(9);
            gridLayout15.setColumns(1);
            welcomeButtonPanel.add(getWelcomePiecesB(), null);
            welcomeButtonPanel.add(getWelcomeReceptionB(), null);
            welcomeButtonPanel.add(getWelcomePreparationtB(), null);
            welcomeButtonPanel.add(getWelcomeSendingB(), null);
            welcomeButtonPanel.add(getWelcomeDeliveryB(), null);
            welcomeButtonPanel.add(getWelcomeCustomerB(), null);
            welcomeButtonPanel.add(getWelcomeSupplierB(), null);
            welcomeButtonPanel.add(getWelcomeItemB(), null);
            welcomeButtonPanel.add(getWelcomeInventoryB(), null);
        }
        return welcomeButtonPanel;
    }

    private JButton getWelcomePiecesB() {
        if (welcomePiecesB == null) {
            welcomePiecesB = new JButton();
            welcomePiecesB.setText(Messages.getString("StockGUI.piece"));
            welcomePiecesB.setHorizontalAlignment(2);
            welcomePiecesB.setPreferredSize(new Dimension(51, 18));
            welcomePiecesB.setBorderPainted(true);
            welcomePiecesB.setContentAreaFilled(false);
            welcomePiecesB.setIcon(new ImageIcon(getClass().getResource("/org/jpgolay/me/images/pieces16x16.png")));
            welcomePiecesB.setBorder(new SoftBevelBorder(0));
            welcomePiecesB.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    ((CardLayout) getListJPanel().getLayout()).show(getListJPanel(), getPiecesJPanel().getName());
                }
            });
        }
        return welcomePiecesB;
    }

    private JButton getWelcomeDeliveryB() {
        if (welcomeDeliveryB == null) {
            welcomeDeliveryB = new JButton();
            welcomeDeliveryB.setHorizontalAlignment(2);
            welcomeDeliveryB.setText(Messages.getString("StockGUI.delivery"));
            welcomeDeliveryB.setPreferredSize(new Dimension(51, 18));
            welcomeDeliveryB.setBorderPainted(true);
            welcomeDeliveryB.setContentAreaFilled(false);
            welcomeDeliveryB.setIcon(new ImageIcon(getClass().getResource("/org/jpgolay/me/images/delivery16x16.png")));
            welcomeDeliveryB.setBorder(new SoftBevelBorder(0));
            welcomeDeliveryB.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    ((CardLayout) getListJPanel().getLayout()).show(getListJPanel(), getDeliveryJPanel().getName());
                }
            });
        }
        return welcomeDeliveryB;
    }

    private JButton getWelcomeReceptionB() {
        if (welcomeReceptionB == null) {
            welcomeReceptionB = new JButton();
            welcomeReceptionB.setHorizontalAlignment(2);
            welcomeReceptionB.setText(Messages.getString("StockGUI.reception"));
            welcomeReceptionB.setPreferredSize(new Dimension(51, 18));
            welcomeReceptionB.setBorderPainted(true);
            welcomeReceptionB.setContentAreaFilled(false);
            welcomeReceptionB.setIcon(new ImageIcon(getClass().getResource("/org/jpgolay/me/images/reception16x16.png")));
            welcomeReceptionB.setBorder(new SoftBevelBorder(0));
            welcomeReceptionB.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    ((CardLayout) getListJPanel().getLayout()).show(getListJPanel(), getReceptionJPanel().getName());
                }
            });
        }
        return welcomeReceptionB;
    }

    private JButton getWelcomePreparationtB() {
        if (welcomePreparationtB == null) {
            welcomePreparationtB = new JButton();
            welcomePreparationtB.setHorizontalAlignment(2);
            welcomePreparationtB.setText(Messages.getString("StockGUI.preparation"));
            welcomePreparationtB.setPreferredSize(new Dimension(51, 18));
            welcomePreparationtB.setBorderPainted(true);
            welcomePreparationtB.setContentAreaFilled(false);
            welcomePreparationtB.setIcon(new ImageIcon(getClass().getResource("/org/jpgolay/me/images/preparation16x16.png")));
            welcomePreparationtB.setBorder(new SoftBevelBorder(0));
            welcomePreparationtB.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    ((CardLayout) getListJPanel().getLayout()).show(getListJPanel(), getPreparationJPanel().getName());
                }
            });
        }
        return welcomePreparationtB;
    }

    private JButton getWelcomeSendingB() {
        if (welcomeSendingB == null) {
            welcomeSendingB = new JButton();
            welcomeSendingB.setBorder(new SoftBevelBorder(0));
            welcomeSendingB.setContentAreaFilled(false);
            welcomeSendingB.setText(Messages.getString("StockGUI.sending"));
            welcomeSendingB.setHorizontalAlignment(2);
            welcomeSendingB.setIcon(new ImageIcon(getClass().getResource("/org/jpgolay/me/images/sending16x16.png")));
            welcomeSendingB.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    ((CardLayout) getListJPanel().getLayout()).show(getListJPanel(), getSendingJPanel().getName());
                }
            });
        }
        return welcomeSendingB;
    }

    private JButton getWelcomeInventoryB() {
        if (welcomeInventoryB == null) {
            welcomeInventoryB = new JButton();
            welcomeInventoryB.setBorder(new SoftBevelBorder(0));
            welcomeInventoryB.setBorderPainted(true);
            welcomeInventoryB.setContentAreaFilled(false);
            welcomeInventoryB.setHorizontalAlignment(2);
            welcomeInventoryB.setText(Messages.getString("StockGUI.inventory"));
            welcomeInventoryB.setIcon(new ImageIcon(getClass().getResource("/org/jpgolay/me/images/inventory16x16.png")));
            welcomeInventoryB.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    ((CardLayout) getListJPanel().getLayout()).show(getListJPanel(), getInventoryJPanel().getName());
                }
            });
        }
        return welcomeInventoryB;
    }

    private JButton getWelcomeCustomerB() {
        if (welcomeCustomerB == null) {
            welcomeCustomerB = new JButton();
            welcomeCustomerB.setHorizontalAlignment(2);
            welcomeCustomerB.setText(Messages.getString("StockGUI.customer"));
            welcomeCustomerB.setPreferredSize(new Dimension(51, 18));
            welcomeCustomerB.setBorderPainted(true);
            welcomeCustomerB.setContentAreaFilled(false);
            welcomeCustomerB.setIcon(new ImageIcon(getClass().getResource("/org/jpgolay/me/images/customerList16x16.png")));
            welcomeCustomerB.setBorder(new SoftBevelBorder(0));
            welcomeCustomerB.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    ((CardLayout) getListJPanel().getLayout()).show(getListJPanel(), getCustomerJPanel().getName());
                }
            });
        }
        return welcomeCustomerB;
    }

    private JButton getWelcomeSupplierB() {
        if (welcomeSupplierB == null) {
            welcomeSupplierB = new JButton();
            welcomeSupplierB.setHorizontalAlignment(2);
            welcomeSupplierB.setText(Messages.getString("StockGUI.supplier"));
            welcomeSupplierB.setPreferredSize(new Dimension(51, 18));
            welcomeSupplierB.setBorderPainted(true);
            welcomeSupplierB.setContentAreaFilled(false);
            welcomeSupplierB.setIcon(new ImageIcon(getClass().getResource("/org/jpgolay/me/images/supplierList16x16.png")));
            welcomeSupplierB.setBorder(new SoftBevelBorder(0));
            welcomeSupplierB.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    ((CardLayout) getListJPanel().getLayout()).show(getListJPanel(), getSupplierJPanel().getName());
                }
            });
        }
        return welcomeSupplierB;
    }

    private JButton getWelcomeItemB() {
        if (welcomeItemB == null) {
            welcomeItemB = new JButton();
            welcomeItemB.setHorizontalAlignment(2);
            welcomeItemB.setText(Messages.getString("StockGUI.item"));
            welcomeItemB.setPreferredSize(new Dimension(51, 18));
            welcomeItemB.setBorderPainted(true);
            welcomeItemB.setContentAreaFilled(false);
            welcomeItemB.setIcon(new ImageIcon(getClass().getResource("/org/jpgolay/me/images/itemList16x16.png")));
            welcomeItemB.setBorder(new SoftBevelBorder(0));
            welcomeItemB.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    ((CardLayout) getListJPanel().getLayout()).show(getListJPanel(), getItemJPanel().getName());
                }
            });
        }
        return welcomeItemB;
    }

    private SearchBox getPiecesSearch() {
        if (piecesSearch == null) {
            piecesSearch = new SearchBox();
            piecesSearch.setPreferredSize(piecesSearch.getSize());
            piecesSearch.addPropertyChangeListener("icon", new PropertyChangeListener() {
                public void propertyChange(PropertyChangeEvent e) {
                    piecesSearch.setPreferredSize(piecesSearch.getSize());
                    getPieceMainJPanel().revalidate();
                }
            });
        }
        return piecesSearch;
    }

    private TableViewer getPiecesTable() {
        if (piecesTable == null) {
            piecesTable = new TableViewer();
        }
        return piecesTable;
    }

    private SearchBox getDeliverySearch() {
        if (deliverySearch == null) {
            deliverySearch = new SearchBox();
            deliverySearch.setPreferredSize(deliverySearch.getSize());
            deliverySearch.addPropertyChangeListener("icon", new PropertyChangeListener() {
                public void propertyChange(PropertyChangeEvent e) {
                    deliverySearch.setPreferredSize(deliverySearch.getSize());
                    getDeliveryMainJPanel().revalidate();
                }
            });
        }
        return deliverySearch;
    }

    private TableViewer getDeliveryTable() {
        if (deliveryTable == null) {
            deliveryTable = new TableViewer();
        }
        return deliveryTable;
    }

    private SearchBox getCustomerSearch() {
        if (customerSearch == null) {
            customerSearch = new SearchBox();
            customerSearch.setPreferredSize(customerSearch.getSize());
            customerSearch.addPropertyChangeListener("icon", new PropertyChangeListener() {
                public void propertyChange(PropertyChangeEvent e) {
                    customerSearch.setPreferredSize(customerSearch.getSize());
                    getCustomerMainJPanel().revalidate();
                }
            });
        }
        return customerSearch;
    }

    private TableViewer getCustomerTable() {
        if (customerTable == null) {
            customerTable = new TableViewer();
        }
        return customerTable;
    }

    private SearchBox getSupplierSearch() {
        if (supplierSearch == null) {
            supplierSearch = new SearchBox();
            supplierSearch.setPreferredSize(supplierSearch.getSize());
            supplierSearch.addPropertyChangeListener("icon", new PropertyChangeListener() {
                public void propertyChange(PropertyChangeEvent e) {
                    supplierSearch.setPreferredSize(supplierSearch.getSize());
                    getSupplierMainJPanel().revalidate();
                }
            });
        }
        return supplierSearch;
    }

    private TableViewer getSupplierTable() {
        if (supplierTable == null) {
            supplierTable = new TableViewer();
        }
        return supplierTable;
    }

    private SearchBox getItemSearch() {
        if (itemSearch == null) {
            itemSearch = new SearchBox();
            itemSearch.setPreferredSize(itemSearch.getSize());
            itemSearch.addPropertyChangeListener("icon", new PropertyChangeListener() {
                public void propertyChange(PropertyChangeEvent e) {
                    itemSearch.setPreferredSize(itemSearch.getSize());
                    getItemMainJPanel().revalidate();
                }
            });
        }
        return itemSearch;
    }

    private SearchBox getPreparationSearch() {
        if (preparationSearch == null) {
            preparationSearch = new SearchBox();
            preparationSearch.setPreferredSize(preparationSearch.getSize());
            preparationSearch.addPropertyChangeListener("icon", new PropertyChangeListener() {
                public void propertyChange(PropertyChangeEvent e) {
                    preparationSearch.setPreferredSize(preparationSearch.getSize());
                    getPreparationMainJPanel().revalidate();
                }
            });
        }
        return preparationSearch;
    }

    private PreparationBatchGUI getPreparationBatchGUI() {
        if (preparationBatchGUI == null) {
            preparationBatchGUI = new PreparationBatchGUI();
        }
        return preparationBatchGUI;
    }

    private JButton getPiecesSendingB() {
        if (piecesSendingB == null) {
            piecesSendingB = new JButton();
            piecesSendingB.setBorder(new SoftBevelBorder(0));
            piecesSendingB.setContentAreaFilled(false);
            piecesSendingB.setText(Messages.getString("StockGUI.sending"));
            piecesSendingB.setHorizontalAlignment(2);
            piecesSendingB.setIcon(new ImageIcon(getClass().getResource("/org/jpgolay/me/images/sending16x16.png")));
            piecesSendingB.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    ((CardLayout) getListJPanel().getLayout()).show(getListJPanel(), getSendingJPanel().getName());
                }
            });
        }
        return piecesSendingB;
    }

    private JButton getPiecesInventoryB() {
        if (piecesInventoryB == null) {
            piecesInventoryB = new JButton();
            piecesInventoryB.setBorder(new SoftBevelBorder(0));
            piecesInventoryB.setContentAreaFilled(false);
            piecesInventoryB.setHorizontalAlignment(2);
            piecesInventoryB.setText(Messages.getString("StockGUI.inventory"));
            piecesInventoryB.setIcon(new ImageIcon(getClass().getResource("/org/jpgolay/me/images/inventory16x16.png")));
            piecesInventoryB.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    ((CardLayout) getListJPanel().getLayout()).show(getListJPanel(), getInventoryJPanel().getName());
                }
            });
        }
        return piecesInventoryB;
    }

    private JButton getPreparationSendingB() {
        if (preparationSendingB == null) {
            preparationSendingB = new JButton();
            preparationSendingB.setBorder(new SoftBevelBorder(0));
            preparationSendingB.setContentAreaFilled(false);
            preparationSendingB.setHorizontalAlignment(2);
            preparationSendingB.setText(Messages.getString("StockGUI.sending"));
            preparationSendingB.setIcon(new ImageIcon(getClass().getResource("/org/jpgolay/me/images/sending16x16.png")));
            preparationSendingB.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    ((CardLayout) getListJPanel().getLayout()).show(getListJPanel(), getSendingJPanel().getName());
                }
            });
        }
        return preparationSendingB;
    }

    private JButton getPreparationInventoryB() {
        if (preparationInventoryB == null) {
            preparationInventoryB = new JButton();
            preparationInventoryB.setBorder(new SoftBevelBorder(0));
            preparationInventoryB.setContentAreaFilled(false);
            preparationInventoryB.setHorizontalAlignment(2);
            preparationInventoryB.setText(Messages.getString("StockGUI.inventory"));
            preparationInventoryB.setIcon(new ImageIcon(getClass().getResource("/org/jpgolay/me/images/inventory16x16.png")));
            preparationInventoryB.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    ((CardLayout) getListJPanel().getLayout()).show(getListJPanel(), getInventoryJPanel().getName());
                }
            });
        }
        return preparationInventoryB;
    }

    private JButton getReceptionSendingB() {
        if (receptionSendingB == null) {
            receptionSendingB = new JButton();
            receptionSendingB.setBorder(new SoftBevelBorder(0));
            receptionSendingB.setContentAreaFilled(false);
            receptionSendingB.setHorizontalAlignment(2);
            receptionSendingB.setText(Messages.getString("StockGUI.sending"));
            receptionSendingB.setIcon(new ImageIcon(getClass().getResource("/org/jpgolay/me/images/sending16x16.png")));
            receptionSendingB.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    ((CardLayout) getListJPanel().getLayout()).show(getListJPanel(), getSendingJPanel().getName());
                }
            });
        }
        return receptionSendingB;
    }

    private JButton getReceptionInventoryB() {
        if (receptionInventoryB == null) {
            receptionInventoryB = new JButton();
            receptionInventoryB.setBorder(new SoftBevelBorder(0));
            receptionInventoryB.setContentAreaFilled(false);
            receptionInventoryB.setHorizontalAlignment(2);
            receptionInventoryB.setText(Messages.getString("StockGUI.inventory"));
            receptionInventoryB.setIcon(new ImageIcon(getClass().getResource("/org/jpgolay/me/images/inventory16x16.png")));
            receptionInventoryB.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    ((CardLayout) getListJPanel().getLayout()).show(getListJPanel(), getInventoryJPanel().getName());
                }
            });
        }
        return receptionInventoryB;
    }

    private JButton getSendingSendingB() {
        if (sendingSendingB == null) {
            sendingSendingB = new JButton();
            sendingSendingB.setBorder(new SoftBevelBorder(0));
            sendingSendingB.setContentAreaFilled(false);
            sendingSendingB.setHorizontalAlignment(2);
            sendingSendingB.setText(Messages.getString("StockGUI.sending"));
            sendingSendingB.setIcon(new ImageIcon(getClass().getResource("/org/jpgolay/me/images/sending16x16.png")));
            sendingSendingB.setFont(new Font("Microsoft Sans Serif", 1, 12));
            sendingSendingB.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    ((CardLayout) getListJPanel().getLayout()).show(getListJPanel(), getWelcomeJPanel().getName());
                }
            });
        }
        return sendingSendingB;
    }

    private JButton getSendingInventoryB() {
        if (sendingInventoryB == null) {
            sendingInventoryB = new JButton();
            sendingInventoryB.setBorder(new SoftBevelBorder(0));
            sendingInventoryB.setContentAreaFilled(false);
            sendingInventoryB.setHorizontalAlignment(2);
            sendingInventoryB.setText(Messages.getString("StockGUI.inventory"));
            sendingInventoryB.setIcon(new ImageIcon(getClass().getResource("/org/jpgolay/me/images/inventory16x16.png")));
            sendingInventoryB.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    ((CardLayout) getListJPanel().getLayout()).show(getListJPanel(), getInventoryJPanel().getName());
                }
            });
        }
        return sendingInventoryB;
    }

    private JButton getInventorySendingB() {
        if (inventorySendingB == null) {
            inventorySendingB = new JButton();
            inventorySendingB.setBorder(new SoftBevelBorder(0));
            inventorySendingB.setContentAreaFilled(false);
            inventorySendingB.setHorizontalAlignment(2);
            inventorySendingB.setText(Messages.getString("StockGUI.sending"));
            inventorySendingB.setIcon(new ImageIcon(getClass().getResource("/org/jpgolay/me/images/sending16x16.png")));
            inventorySendingB.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    ((CardLayout) getListJPanel().getLayout()).show(getListJPanel(), getSendingJPanel().getName());
                }
            });
        }
        return inventorySendingB;
    }

    private JButton getInventoryInventoryB() {
        if (inventoryInventoryB == null) {
            inventoryInventoryB = new JButton();
            inventoryInventoryB.setBorder(new SoftBevelBorder(0));
            inventoryInventoryB.setContentAreaFilled(false);
            inventoryInventoryB.setHorizontalAlignment(2);
            inventoryInventoryB.setText(Messages.getString("StockGUI.inventory"));
            inventoryInventoryB.setIcon(new ImageIcon(getClass().getResource("/org/jpgolay/me/images/inventory16x16.png")));
            inventoryInventoryB.setFont(new Font("Microsoft Sans Serif", 1, 12));
            inventoryInventoryB.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    ((CardLayout) getListJPanel().getLayout()).show(getListJPanel(), getWelcomeJPanel().getName());
                }
            });
        }
        return inventoryInventoryB;
    }

    private JButton getCustomerSendingB() {
        if (customerSendingB == null) {
            customerSendingB = new JButton();
            customerSendingB.setBorder(new SoftBevelBorder(0));
            customerSendingB.setContentAreaFilled(false);
            customerSendingB.setHorizontalAlignment(2);
            customerSendingB.setText(Messages.getString("StockGUI.sending"));
            customerSendingB.setIcon(new ImageIcon(getClass().getResource("/org/jpgolay/me/images/sending16x16.png")));
            customerSendingB.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    ((CardLayout) getListJPanel().getLayout()).show(getListJPanel(), getSendingJPanel().getName());
                }
            });
        }
        return customerSendingB;
    }

    private JButton getCustomerInventoryB() {
        if (customerInventoryB == null) {
            customerInventoryB = new JButton();
            customerInventoryB.setBorder(new SoftBevelBorder(0));
            customerInventoryB.setContentAreaFilled(false);
            customerInventoryB.setHorizontalAlignment(2);
            customerInventoryB.setText(Messages.getString("StockGUI.inventory"));
            customerInventoryB.setIcon(new ImageIcon(getClass().getResource("/org/jpgolay/me/images/inventory16x16.png")));
            customerInventoryB.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    ((CardLayout) getListJPanel().getLayout()).show(getListJPanel(), getInventoryJPanel().getName());
                }
            });
        }
        return customerInventoryB;
    }

    private JButton getSupplierSendingB() {
        if (supplierSendingB == null) {
            supplierSendingB = new JButton();
            supplierSendingB.setBorder(new SoftBevelBorder(0));
            supplierSendingB.setContentAreaFilled(false);
            supplierSendingB.setHorizontalAlignment(2);
            supplierSendingB.setText(Messages.getString("StockGUI.sending"));
            supplierSendingB.setIcon(new ImageIcon(getClass().getResource("/org/jpgolay/me/images/sending16x16.png")));
            supplierSendingB.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    ((CardLayout) getListJPanel().getLayout()).show(getListJPanel(), getSendingJPanel().getName());
                }
            });
        }
        return supplierSendingB;
    }

    private JButton getSupplierInventoryB() {
        if (supplierInventoryB == null) {
            supplierInventoryB = new JButton();
            supplierInventoryB.setBorder(new SoftBevelBorder(0));
            supplierInventoryB.setContentAreaFilled(false);
            supplierInventoryB.setHorizontalAlignment(2);
            supplierInventoryB.setText(Messages.getString("StockGUI.inventory"));
            supplierInventoryB.setIcon(new ImageIcon(getClass().getResource("/org/jpgolay/me/images/inventory16x16.png")));
            supplierInventoryB.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    ((CardLayout) getListJPanel().getLayout()).show(getListJPanel(), getInventoryJPanel().getName());
                }
            });
        }
        return supplierInventoryB;
    }

    private JButton getItemSendingB() {
        if (itemSendingB == null) {
            itemSendingB = new JButton();
            itemSendingB.setBorder(new SoftBevelBorder(0));
            itemSendingB.setContentAreaFilled(false);
            itemSendingB.setHorizontalAlignment(2);
            itemSendingB.setText(Messages.getString("StockGUI.sending"));
            itemSendingB.setIcon(new ImageIcon(getClass().getResource("/org/jpgolay/me/images/sending16x16.png")));
            itemSendingB.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    ((CardLayout) getListJPanel().getLayout()).show(getListJPanel(), getSendingJPanel().getName());
                }
            });
        }
        return itemSendingB;
    }

    private JButton getItemInventoryB() {
        if (itemInventoryB == null) {
            itemInventoryB = new JButton();
            itemInventoryB.setBorder(new SoftBevelBorder(0));
            itemInventoryB.setContentAreaFilled(false);
            itemInventoryB.setHorizontalAlignment(2);
            itemInventoryB.setText(Messages.getString("StockGUI.inventory"));
            itemInventoryB.setIcon(new ImageIcon(getClass().getResource("/org/jpgolay/me/images/inventory16x16.png")));
            itemInventoryB.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    ((CardLayout) getListJPanel().getLayout()).show(getListJPanel(), getInventoryJPanel().getName());
                }
            });
        }
        return itemInventoryB;
    }

    private JButton getDeliverySendingB() {
        if (deliverySendingB == null) {
            deliverySendingB = new JButton();
            deliverySendingB.setBorder(new SoftBevelBorder(0));
            deliverySendingB.setContentAreaFilled(false);
            deliverySendingB.setHorizontalAlignment(2);
            deliverySendingB.setText(Messages.getString("StockGUI.sending"));
            deliverySendingB.setIcon(new ImageIcon(getClass().getResource("/org/jpgolay/me/images/sending16x16.png")));
            deliverySendingB.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    ((CardLayout) getListJPanel().getLayout()).show(getListJPanel(), getSendingJPanel().getName());
                }
            });
        }
        return deliverySendingB;
    }

    private JButton getDeliveryInventoryB() {
        if (deliveryInventoryB == null) {
            deliveryInventoryB = new JButton();
            deliveryInventoryB.setBorder(new SoftBevelBorder(0));
            deliveryInventoryB.setContentAreaFilled(false);
            deliveryInventoryB.setHorizontalAlignment(2);
            deliveryInventoryB.setText(Messages.getString("StockGUI.inventory"));
            deliveryInventoryB.setIcon(new ImageIcon(getClass().getResource("/org/jpgolay/me/images/inventory16x16.png")));
            deliveryInventoryB.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    ((CardLayout) getListJPanel().getLayout()).show(getListJPanel(), getInventoryJPanel().getName());
                }
            });
        }
        return deliveryInventoryB;
    }

    private TableViewer getItemTable() {
        if (itemTable == null) {
            itemTable = new TableViewer();
        }
        return itemTable;
    }

    private TableViewer getPreparationTable() {
        if (preparationTable == null) {
            preparationTable = new TableViewer();
        }
        return preparationTable;
    }

    private StatisticsWelcomePiecesGUI getStatisticsWelcomePiecesGUI() {
        if (statisticsWelcomePiecesGUI == null) {
            statisticsWelcomePiecesGUI = new StatisticsWelcomePiecesGUI();
        }
        return statisticsWelcomePiecesGUI;
    }

    private BatchPanel getBatchPanel() {
        if (batchPanel == null) {
            batchPanel = new BatchPanel();
        }
        return batchPanel;
    }

    private BatchCmdPanel getBatchCmdPanel() {
        if (batchCmdPanel == null) {
            batchCmdPanel = new BatchCmdPanel();
        }
        return batchCmdPanel;
    }

    private SendingPanel getSendingPanel() {
        if (sendingPanel == null) {
            sendingPanel = new SendingPanel();
        }
        return sendingPanel;
    }

    private SendingCmdPanel getSendingCmdPanel() {
        if (sendingCmdPanel == null) {
            sendingCmdPanel = new SendingCmdPanel();
        }
        return sendingCmdPanel;
    }

    private JPanel getPreparationItemPanel() {
        if (preparationItemPanel == null) {
            preparationItemPanel = new JPanel();
            preparationItemPanel.setLayout(new BorderLayout());
            preparationItemPanel.add(getPreparationSearch(), "North");
            preparationItemPanel.add(getPreparationTable(), "Center");
        }
        return preparationItemPanel;
    }

    private JSplitPane getJSplitPane() {
        if (jSplitPane == null) {
            jSplitPane = new JSplitPane();
            jSplitPane.setOrientation(0);
            jSplitPane.setTopComponent(getPreparationBatchGUI());
            jSplitPane.setBottomComponent(getPreparationItemPanel());
            jSplitPane.setOneTouchExpandable(true);
            jSplitPane.setDividerLocation(170);
        }
        return jSplitPane;
    }

    public void setParameter(Parameter param) {
        this.param = param;
    }

    public BasicMenu getMenu() {
        return getBasicMenu();
    }

    public IconBar getIconBar() {
        return getIconBarPanel();
    }

    public void addPiece(String title, Icon icon, Component component, String tip) {
        getPiecesJTabbedPane().addTab(title, icon, component, tip);
        getPiecesJTabbedPane().setSelectedComponent(component);
    }

    public void setSelectedPiece(int index, Icon icon) {
        getPiecesJTabbedPane().setSelectedIndex(index);
        getPiecesJTabbedPane().setIconAt(index, icon);
    }

    public String getTitlePiece(int index) {
        return getPiecesJTabbedPane().getTitleAt(index);
    }

    public int getPiecesCount() {
        return getPiecesJTabbedPane().getTabCount();
    }

    public void removePiece() {
        if (getPiecesJTabbedPane().getSelectedIndex() != -1) {
            getPiecesJTabbedPane().removeTabAt(getPiecesJTabbedPane().getSelectedIndex());
        }
    }

    public void setIconPiece(Icon icon) {
        getPiecesJTabbedPane().setIconAt(getPiecesJTabbedPane().getSelectedIndex(), icon);
    }

    public Component getSelectedPiece() {
        return getPiecesJTabbedPane().getSelectedComponent();
    }

    public void removeAllPieces() {
        getPiecesJTabbedPane().removeAll();
    }

    public SearchBox getPiecesSearchBox() {
        return getPiecesSearch();
    }

    public TableViewer getPiecesTableViewer() {
        return getPiecesTable();
    }

    public SearchBox getDeliverySearchBox() {
        return getDeliverySearch();
    }

    public TableViewer getDeliveryTableViewer() {
        return getDeliveryTable();
    }

    public SearchBox getCustomerSearchBox() {
        return getCustomerSearch();
    }

    public TableViewer getCustomerTableViewer() {
        return getCustomerTable();
    }

    public SearchBox getSupplierSearchBox() {
        return getSupplierSearch();
    }

    public TableViewer getSupplierTableViewer() {
        return getSupplierTable();
    }

    public SearchBox getItemSearchBox() {
        return getItemSearch();
    }

    public SearchBox getPreparationSearchBox() {
        return getPreparationSearch();
    }

    public TableViewer getItemTableViewer() {
        return getItemTable();
    }

    public TableViewer getPreparationTableViewer() {
        return getPreparationTable();
    }

    public JButton getWelcomePiecesButton() {
        return getWelcomePiecesB();
    }

    public JButton getWelcomeDeliveryButton() {
        return getWelcomeDeliveryB();
    }

    public JButton getWelcomeGroupButton() {
        return getWelcomeReceptionB();
    }

    public JButton getWelcomePaymentButton() {
        return getWelcomePreparationtB();
    }

    public JButton getWelcomeCustomerButton() {
        return getWelcomeCustomerB();
    }

    public JButton getWelcomeSupplierButton() {
        return getWelcomeSupplierB();
    }

    public JButton getWelcomeItemButton() {
        return getWelcomeItemB();
    }

    public JButton getPiecesPiecesButton() {
        return getPiecesPiecesB();
    }

    public JButton getPiecesDeliveryButton() {
        return getPiecesDeliveryB();
    }

    public JButton getPiecesGroupButton() {
        return getPiecesReceptionB();
    }

    public JButton getPiecesPaymentButton() {
        return getPiecesPreparationB();
    }

    public JButton getPiecesCustomerButton() {
        return getPiecesCustomerB();
    }

    public JButton getPiecesSupplierButton() {
        return getPiecesSupplierB();
    }

    public JButton getPiecesItemButton() {
        return getPiecesItemB();
    }

    public JButton getDeliveryPiecesButton() {
        return getDeliveryPiecesB();
    }

    public JButton getDeliveryDeliveryButton() {
        return getDeliveryDeliveryB();
    }

    public JButton getDeliveryGroupButton() {
        return getDeliveryReceptionB();
    }

    public JButton getDeliveryPaymentButton() {
        return getDeliveryPreparationB();
    }

    public JButton getDeliveryCustomerButton() {
        return getDeliveryCustomerB();
    }

    public JButton getDeliverySupplierButton() {
        return getDeliverySupplierB();
    }

    public JButton getDeliveryItemButton() {
        return getDeliveryItemB();
    }

    public JButton getReceptionPiecesButton() {
        return getReceptionPiecesB();
    }

    public JButton getReceptionDeliveryButton() {
        return getReceptionDeliveryB();
    }

    public JButton getReceptionReceptionButton() {
        return getReceptionReceptionB();
    }

    public JButton getReceptionPreparationButton() {
        return getReceptionPreparationB();
    }

    public JButton getReceptionCustomerButton() {
        return getReceptionCustomerB();
    }

    public JButton getReceptionSupplierButton() {
        return getReceptionSupplierB();
    }

    public JButton getReceptionItemButton() {
        return getReceptionItemB();
    }

    public JButton getPreparationPieceButton() {
        return getPreparationPieceB();
    }

    public JButton getPreparationDeliveryButton() {
        return getPreparationDeliveryB();
    }

    public JButton getPreparationGroupButton() {
        return getPreparationtReceptionB();
    }

    public JButton getPreparationPreparationButton() {
        return getPreparationPreparationB();
    }

    public JButton getPreparationCustomerButton() {
        return getPreparationCustomerB();
    }

    public JButton getPreparationSupplierButton() {
        return getPreparationSupplierB();
    }

    public JButton getPreparationItemButton() {
        return getPreparationItemB();
    }

    public JButton getCustomerPiecesButton() {
        return getCustomerPiecesB();
    }

    public JButton getCustomerDeliveryButton() {
        return getCustomerDeliveryB();
    }

    public JButton getCustomerGroupButton() {
        return getCustomerReceptionB();
    }

    public JButton getCustomerPaymentButton() {
        return getCustomerPreparationB();
    }

    public JButton getCustomerCustomerButton() {
        return getCustomerCustomerB();
    }

    public JButton getCustomerSupplierButton() {
        return getCustomerSupplierB();
    }

    public JButton getCustomerItemButton() {
        return getCustomerItemB();
    }

    public JButton getSupplierItemButton() {
        return getSupplierItemB();
    }

    public JButton getSupplierPiecesButton() {
        return getSupplierPiecesB();
    }

    public JButton getSupplierDeliveryButton() {
        return getSupplierDeliveryB();
    }

    public JButton getSupplierGroupButton() {
        return getSupplierReceptionB();
    }

    public JButton getSupplierPaymentButton() {
        return getSupplierPreparationB();
    }

    public JButton getSupplierCustomerButton() {
        return getSupplierCustomerB();
    }

    public JButton getSupplierSupplierButton() {
        return getSupplierSupplierB();
    }

    public JButton getItemPiecesButton() {
        return getItemPiecesB();
    }

    public JButton getItemDeliveryButton() {
        return getItemDeliveryB();
    }

    public JButton getItemReceptionButton() {
        return getItemReceptionB();
    }

    public JButton getItemPreparationButton() {
        return getItemPreparationB();
    }

    public JButton getItemCustomerButton() {
        return getItemCustomerB();
    }

    public JButton getItemSupplierButton() {
        return getItemSupplierB();
    }

    public JButton getItemItemButton() {
        return getItemItemB();
    }

    public StatisticsWelcomePiecesGUI getStatisticsWPGUI() {
        return getStatisticsWelcomePiecesGUI();
    }

    public void openPiecesPanel() {
        ((CardLayout) getListJPanel().getLayout()).show(getListJPanel(), getPiecesJPanel().getName());
    }

    public void openReceptionPanel() {
        ((CardLayout) getListJPanel().getLayout()).show(getListJPanel(), getReceptionJPanel().getName());
    }

    public void openSendingPanel() {
        ((CardLayout) getListJPanel().getLayout()).show(getListJPanel(), getSendingJPanel().getName());
    }

    public JTabbedPane getPiecesTabbedPane() {
        return getPiecesJTabbedPane();
    }

    public JButton getSendingPiecesButton() {
        return getSendingPiecesB();
    }

    public JButton getSendingReceptionButton() {
        return getSendingReceptionB();
    }

    public JButton getSendingPreparationButton() {
        return getSendingPreparationB();
    }

    public JButton getSendingSendingButton() {
        return getSendingSendingB();
    }

    public JButton getSendingDeliveryButton() {
        return getSendingDeliveryB();
    }

    public JButton getSendingCustomerButton() {
        return getSendingCustomerB();
    }

    public JButton getSendingSupplierButton() {
        return getSendingSupplierB();
    }

    public JButton getSendingItemButton() {
        return getSendingItemB();
    }

    public JButton getSendingInventoryButton() {
        return getSendingInventoryB();
    }

    public JButton getInventoryPiecesButton() {
        return getInventoryPiecesB();
    }

    public JButton getInventoryReceptionButton() {
        return getInventoryReceptionB();
    }

    public JButton getInventoryPreparationButton() {
        return getInventoryPreparationB();
    }

    public JButton getInventorySendingButton() {
        return getInventorySendingB();
    }

    public JButton getInventoryDeliveryButton() {
        return getInventoryDeliveryB();
    }

    public JButton getInventoryCustomerButton() {
        return getInventoryCustomerB();
    }

    public JButton getInventorySupplierButton() {
        return getInventorySupplierB();
    }

    public JButton getInventoryItemButton() {
        return getInventoryItemB();
    }

    public JButton getInventoryInventoryButton() {
        return getInventoryInventoryB();
    }

    public JButton getPiecesSendingButton() {
        return getPiecesSendingB();
    }

    public JButton getPiecesInventoryButton() {
        return getPiecesInventoryB();
    }

    public JButton getReceptionSendingButton() {
        return getReceptionSendingB();
    }

    public JButton getReceptionInventoryButton() {
        return getReceptionInventoryB();
    }

    public JButton getPreparationSendingButton() {
        return getPreparationSendingB();
    }

    public JButton getPreparationInventoryButton() {
        return getPreparationInventoryB();
    }

    public JButton getDeliverySendingButton() {
        return getDeliverySendingB();
    }

    public JButton getDeliveryInventoryButton() {
        return getDeliveryInventoryB();
    }

    public JButton getCustomerSendingButton() {
        return getCustomerSendingB();
    }

    public JButton getCustomerInventoryButton() {
        return getCustomerInventoryB();
    }

    public JButton getSupplierSendingButton() {
        return getSupplierSendingB();
    }

    public JButton getSupplierInventoryButton() {
        return getSupplierInventoryB();
    }

    public JButton getItemSendingButton() {
        return getItemSendingB();
    }

    public JButton getItemInventoryButton() {
        return getItemInventoryB();
    }

    public JButton getWelcomeSendingButton() {
        return getWelcomeSendingB();
    }

    public JButton getWelcomeInventoryButton() {
        return getWelcomeInventoryB();
    }

    public BatchPanel getBatch() {
        return getBatchPanel();
    }

    public BatchCmdPanel getBatchCmd() {
        return getBatchCmdPanel();
    }

    public SendingPanel getSending() {
        return getSendingPanel();
    }

    public SendingCmdPanel getSendingCmd() {
        return getSendingCmdPanel();
    }

    public BatchListPanel getBatchList() {
        return getBatchListPanel();
    }

    public SendingListPanel getSendingList() {
        return getSendingListPanel();
    }

    public LogStockListPanel getLogStockList() {
        return getLogStockListPanel();
    }

    public InventoryListPanel getInventoryList() {
        return getInventoryListPanel();
    }

    public PreparationBatchGUI getPreparationBatch() {
        return getPreparationBatchGUI();
    }

    public JTabbedPane getContentLeft() {
        return getContentLeftJTabbedPane();
    }

    public void setSelectedTabContentLeft(int index) {
        getContentLeftJTabbedPane().setSelectedIndex(index);
    }
    private Parameter param;
    private Dimension screen;
    private JPanel mainPanel;
    private JPanel contentLeftPanel;
    private JTabbedPane contentLeftJTabbedPane;
    private JPanel pieceLeftPanel;
    private JPanel batchLeftPanel;
    private JPanel sendingLeftPanel;
    private JPanel logStockLeftPanel;
    private JSplitPane mainJSplitPane;
    private JTabbedPane piecesJTabbedPane;
    private JPanel listJPanel;
    private BasicMenu basicMenu;
    private IconBar iconBar;
    private BatchPanel batchPanel;
    private BatchCmdPanel batchCmdPanel;
    private SendingPanel sendingPanel;
    private SendingCmdPanel sendingCmdPanel;
    private InventoryListPanel inventoryListPanel;
    private JPanel preparationJPanel;
    private JPanel customerJPanel;
    private JPanel supplierJPanel;
    private JPanel itemJPanel;
    private JPanel piecesJPanel;
    private JPanel deliveryJPanel;
    private JPanel receptionJPanel;
    private JPanel inventoryJPanel;
    private JPanel sendingJPanel;
    private JPanel inventoryButtonTopJPanel;
    private JPanel inventoryMainJPanel;
    private JPanel inventoryButtonBottomJPanel;
    private JPanel sendingButtonTopJPanel;
    private JPanel sendingMainJPanel;
    private JPanel sendingButtonBottomJPanel;
    private JPanel pieceButtonTopJPanel;
    private JPanel pieceMainJPanel;
    private JPanel pieceButtonBottomJPanel;
    private JPanel deliveryButtonTopJPanel;
    private JPanel deliveryMainJPanel;
    private JPanel deliveryButtonBottomJPanel;
    private JPanel receptionButtonTopJPanel;
    private JPanel receptionMainJPanel;
    private JPanel receptionButtonBottomJPanel;
    private JPanel preparationButtonTopJPanel;
    private JPanel preparationMainJPanel;
    private JPanel preparationButtonBottomJPanel;
    private JPanel customerButtonTopJPanel;
    private JPanel customerMainJPanel;
    private JPanel customerButtonBottomJPanel;
    private JPanel supplierBottonTopJPanel;
    private JPanel supplierMainJPanel;
    private JPanel supplierButtonBottomJPanel;
    private JPanel itemButtonBottomJPanel;
    private JPanel itemButtonTopJPanel;
    private JPanel itemMainJPanel;
    private JButton piecesPiecesB;
    private JButton piecesDeliveryB;
    private JButton piecesReceptionB;
    private JButton piecesPreparationB;
    private JButton piecesCustomerB;
    private JButton piecesSupplierB;
    private JButton piecesItemB;
    private JButton deliveryPiecesB;
    private JButton deliveryDeliveryB;
    private JButton deliveryReceptionB;
    private JButton deliveryPreparationB;
    private JButton deliveryCustomerB;
    private JButton deliverySupplierB;
    private JButton deliveryItemB;
    private JButton receptionPiecesB;
    private JButton receptionDeliveryB;
    private JButton receptionReceptionB;
    private JButton receptionPreparationB;
    private JButton receptionCustomerB;
    private JButton receptionSupplierB;
    private JButton receptionItemB;
    private JButton preparationPieceB;
    private JButton preparationDeliveryB;
    private JButton preparationtReceptionB;
    private JButton preparationPreparationB;
    private JButton preparationCustomerB;
    private JButton preparationSupplierB;
    private JButton preparationItemB;
    private JButton customerPiecesB;
    private JButton customerDeliveryB;
    private JButton customerReceptionB;
    private JButton customerPreparationB;
    private JButton customerCustomerB;
    private JButton customerSupplierB;
    private JButton customerItemB;
    private JButton supplierItemB;
    private JButton supplierPiecesB;
    private JButton supplierDeliveryB;
    private JButton supplierReceptionB;
    private JButton supplierPreparationB;
    private JButton supplierCustomerB;
    private JButton supplierSupplierB;
    private JButton itemPiecesB;
    private JButton itemDeliveryB;
    private JButton itemReceptionB;
    private JButton itemPreparationB;
    private JButton itemCustomerB;
    private JButton itemSupplierB;
    private JButton itemItemB;
    private JPanel welcomeJPanel;
    private JPanel welcomeStatJPanel;
    private JPanel welcomeButtonPanel;
    private JButton welcomePiecesB;
    private JButton welcomeDeliveryB;
    private JButton welcomeReceptionB;
    private JButton welcomePreparationtB;
    private JButton welcomeCustomerB;
    private JButton welcomeSupplierB;
    private JButton welcomeItemB;
    private SearchBox piecesSearch;
    private TableViewer piecesTable;
    private SearchBox deliverySearch;
    private TableViewer deliveryTable;
    private TableViewer paymentTable;
    private SearchBox customerSearch;
    private TableViewer customerTable;
    private SearchBox supplierSearch;
    private TableViewer supplierTable;
    private SearchBox itemSearch;
    private TableViewer itemTable;
    private SearchBox preparationSearch;
    private TableViewer preparationTable;
    private TableViewer reminderTable;
    private JSplitPane jSplitPane1;
    private JPanel bottomJPanel;
    private StatisticsWelcomePiecesGUI statisticsWelcomePiecesGUI;
    private PopupStockGUI popupPiece;
    private JButton welcomeSendingB;
    private JButton welcomeInventoryB;
    private JButton piecesSendingB;
    private JButton piecesInventoryB;
    private JButton deliverySendingB;
    private JButton deliveryInventoryB;
    private JButton receptionSendingB;
    private JButton receptionInventoryB;
    private JButton preparationSendingB;
    private JButton preparationInventoryB;
    private JButton sendingSendingB;
    private JButton sendingInventoryB;
    private JButton inventorySendingB;
    private JButton inventoryInventoryB;
    private JButton customerSendingB;
    private JButton customerInventoryB;
    private JButton supplierSendingB;
    private JButton supplierInventoryB;
    private JButton itemSendingB;
    private JButton itemInventoryB;
    private JButton sendingPiecesB;
    private JButton sendingDeliveryB;
    private JButton sendingReceptionB;
    private JButton sendingPreparationB;
    private JButton sendingCustomerB;
    private JButton sendingSupplierB;
    private JButton sendingItemB;
    private JButton inventoryPiecesB;
    private JButton inventoryDeliveryB;
    private JButton inventoryReceptionB;
    private JButton inventoryPreparationB;
    private JButton inventoryCustomerB;
    private JButton inventorySupplierB;
    private JButton inventoryItemB;
    private BatchListPanel batchListPanel;
    private SendingListPanel sendingListPanel;
    private LogStockListPanel logStockListPanel;
    private PreparationBatchGUI preparationBatchGUI;
    private JPanel preparationItemPanel;
    private JSplitPane jSplitPane;
}
